i have a checkbox in a web page and I want to keep if the checkbox is checked or not in the page when i go from a page to the following page and going back to the first page I want to keep the last checkbox status. i am using xml with xslt to generate HTML document: the XML source code is the following:
<FeeViewModel xsi="http://ift.tt/ra1lAU" xsd="http://ift.tt/tphNwY">
<Success>true</Success>
<AnyFieldWithData>false</AnyFieldWithData>
<FeeAmount>10.0000</FeeAmount>
<Checked>false</Checked>
</FeeViewModel>
and the xslt code for generating the checkbox is the following:
<input id="CheckBoxSmsStatusChange" name ="{$inputPrefix}SmsConfirmation" type="checkbox" checked="{$feeViewModel/Checked}"/>
The checked field will be by default true but when I interact with the checkbox must change. I wonder for a little help.
Aucun commentaire:
Enregistrer un commentaire