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

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -