jquery get selected value where div id is unknown
Posted on 2013-10-22
I have a number of "select" fields that are created dynamically.
The fields will have the same name, although the id can be different
<select name=employee id=employee_1>
<select name=employee id=employee_2>
I want to use jquery to get a handle on the value each time it changes.
If I know the id of the object I can call a routine to get the value
But I don't know how many of these dynamic fields may be created at any time.
is there a way to pass the object id to the jquery script