mardi 21 juin 2016

Checkbox boolean

I have the following checkbox:

<input type="checkbox" id="blacklist" value="<c:out value="${param.blacklist}" />" name="blacklist" style="width: 300px; padding-left: 5px"/>           

param.blacklist is a boolean, it should return false if checbox is not selected and true if checkbox is selected.

Since i'm not so good on html / javascript someone can give me a tip, pls?




Aucun commentaire:

Enregistrer un commentaire