jquery - Get index of changed element -
i have custom list in html wich add rows dynamically when click in button, row has 2 column second column filled depending of selection of first column on same row.
i allow user choose value of new row list of possible values, after user select value fill second column on same row possible values depending of previous selection, problem when load jquery values of second column show if have more 1 row, values added first 1 row.
so if have more 1 row , user change first column 3st row jquery change value of second column on 1st row...
all custom rows of list has same id , names... there copy of first 1 when add new one.
is there way detect on onchange index of element called event?
i hope explained well.
thanks much.
Comments
Post a Comment