jeudi 28 janvier 2016

How to store input type checkbox into json object using either Javascript or jQuery?

I wanted to store all my clicked input accordions(<input type="checkbox">) into json object, I have tried it but it is storing/taking the last input accordion clicked event only, it is not storing/taking all the input clicked accordions that is whatever I click on any accordion(of <input type="checkbox">) that should store into json object using either Javascript or jQuery ? I am not sure where I am doing wrong ? Please help me regarding this ? Thanks in advance. I have created fiddle.




Aucun commentaire:

Enregistrer un commentaire