Jquery loop after click -


I'm using Jquery to submit a form. After receiving the selector option, I should loop through the form after clicking on the user submit button. There are many different selection areas, using PHP, selection options are generated.

A sample HTML:

  & lt; Select ID = "selectHome_1" & gt; & Lt; Options & gt; & Lt; / Options & gt; & Lt; / Select & gt; & Lt; Select id = "selectHome_2" & gt; & Lt; Options & gt; & Lt; / Options & gt; & Lt; / Select & gt; & Lt; Inpupt type = "submit" id = "update" />  

JQuery

  $ ("# update"). Click (function () {// Loop every $ (field) (// output code will be warning '(test') through all the selection; // Test it to see it works ... }) $ ("Input [id = 'selectHome_']").;}); The code searched for  

id = selectHome _ is not working (the warning box never shows).

Any ideas will be highly appreciated.

Cheers!

$ (": input [id =" selectHome_ '] ") : forgot infront input for each ();


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 -