Hi,
Haven't been here for a while but now I am back again to stay for another round.
I write (Jquery) a list of checkbox buttons to a page with initial data from a database. Some of them should be checked. When I use the "input" attribute "checked" e.g. on one all of the gets checked. Am I grouping the "inputs" and "labels" wrong with JQM "fieldset"?
<form action="" method="post" id="configureMenu">
<div data-role="fieldcontain">
<fieldset data-role="controlgroup">
<input type="checkbox" name="checkbox-1" id="checkbox-1" value="Economyassistant" checked>
<label for="checkbox-1">Economyassistant</label>
<input type="checkbox" name="checkbox-2" id="checkbox-2" value="cashregister">
<label for="checkbox-2">cashregister</label>
<input type="checkbox" name="checkbox-3" id="checkbox-3" value="coldcutschef">
<label for="checkbox-3">coldcutschef</label>
<input type="checkbox" name="checkbox-4" id="checkbox-4" value="chef">
<label for="checkbox-4">chef</label>
</fieldset>
</div>
<label for="submitFormData" id="lsubmitFormData">Click to Submit</label>
<input type="submit" name="submitFormData" id="submitFormData" value="Send">
</form>
/Ralf