Related questions
How can I select an element by name with jQuery?
Have a table column I'm trying to expand and hide:
jQuery seems to hide the td elements when I select it by class but not by element's name.
For example, why does:
$(".bold").hide(); // selecting by class works
$("tcol1").hide(); // …
Set selected option of select box
I want to set a option that was selected previously to be displayed on page load. I tried it with the following code:
$("#gate").val('Gateway 2');
with
<select id="gate">
<option value='null'>- choose …