jeudi 20 août 2015

Checkbox value always get false (JQUERY)

I am newbie in jquery and sharepoint. I am facing a problem. I have an application that load the data from server to client through JSON. And after doing some work on form in client parse the data to back server. Whenever i checked the checkbox i always gets value 0. Here is the code that I am using.

$(this).closest(".filter").find(".value").val(this.checked ? 1 : 0);




Aucun commentaire:

Enregistrer un commentaire