attributes - Jquery: Cloning a select list and selecting an option by its value -


I am trying to add a selected table list to a devil table with jQuery, after doing this, I Select a specific option in the want list, I'm trying something like this:

  // My hidden options list 

Try it out:

  $ (". ("Name", "a_dynamic_name_for_php_form") .find ("option [value = none]"). ("Selected", "true");  

notice changes to the last line


Comments

Popular posts from this blog

php - multilevel menu with multilevel array -

c# - TypeConverter in propertygrid only converts from string, not to -

jQuery UI: Datepicker month format -