I am trying to determine the selector of this form element:
Lt; Form action = "/ php / edit_images_reorder.htm" method = "post" name = "draglist_form" & gt; & Lt; Input type = "hidden" name = "new_order" value = "ABC" /> ... It is that I am currently working with:
$ ("form> [name = 'new_order'] ") .val (...) I want to assign a value to this form element with a function. Anyone know what is the right selector? Thanks!
I have just tested and it works:
$ ("Form [name = new_order]"). Val ("My Value"); Regards.
Comments
Post a Comment