mardi 31 mai 2016

Retain checked status of checkbox and add new values to check box

I have unique query, I want the checkboxes to remain checked after ajax makes the call to DB and gets some extra values. Suppose there are four values checked before ajax call and after ajax call to DB there are 6 values out of which four are same values as checked ones. I need the four of the initial values to be checked and other two new values to be unchecked. Is there any way to do this ?




Aucun commentaire:

Enregistrer un commentaire