Hi,
need help on this one...
i wanted to change the button value from
into this one when clicked
and vice versa
as you can notice the button value changes when clicked and true becomes false and vice versa.
this is needed when you want to have select / deselect functionality.
thank you guys
need help on this one...
i wanted to change the button value from
Code:
<INPUT type="button" name="checkall"
value="Select all" onClick="check_all( this.form['checkbox[]'], true )" >
Code:
<INPUT type="button" name="checkall"
value="Deselect all" onClick="check_all( this.form['checkbox[]'], false )" >
as you can notice the button value changes when clicked and true becomes false and vice versa.
this is needed when you want to have select / deselect functionality.
thank you guys