Software Development Practices
Showing posts with label
selectindex
.
Show all posts
Showing posts with label
selectindex
.
Show all posts
Wednesday, November 3, 2010
Setting select option index in jQuery
$('#myselect option:eq(1)').attr('selected', 'selected');
This will select the first option
Older Posts
Home
Subscribe to:
Posts (Atom)