How To Select The First Option Using jQuery

1 |
jQuery('#elementID option:first').attr("selected","selected"); |
1 |
jQuery('#elementID option:first').attr("selected","selected"); |
Categories: How-To's, Technology Tags: howto, javascript, JQuery, option, select, tips
Copyright © 2005-2025 Eric Michael Stone | Random Thoughts, Whims and Fancies…. Powered by WordPress
Leave Your Comment
All fields marked with "*" are required.