I have a webserver running, which has a page containing a checkbox, what I need is to retrieve the state of the checkbox to show it in a popup, but I don't know how to do.
Here is the piece of my code that doesn't work:
'<fieldset class="field">',
' <label for="jqxcheckboxvalue">${translator("value").title()}:</label>',
' <input type="checkbox" name="value" id="jqxcheckboxvalue" ' +
'value='+$('#jqxcheckboxvalue').val()+'>',
'</fieldset>'
How can I get the state of the checkbox? Thank you
Aucun commentaire:
Enregistrer un commentaire