mercredi 31 août 2016

how to change value field of checkbox based on whether it is checked or unchecked

I have a checkbox with

<html:checkbox name="cb" property="cb" value="Yes" disabled="true"></html:checkbox>

when i fetch using property i recieve value "yes"

is there any way to have fields like

  1. checked-value
  2. unchecked-value

    • solution/help using html would be great



Aucun commentaire:

Enregistrer un commentaire