Jump to content

mukul.ssca

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by mukul.ssca

  1. w3schools say::- value Sets or returns the value of the value attribute of the hidden fieldw3schools give the example to get the value//____________________________here is the code _________________________<html><head><script type="text/javascript">function alertValue() { alert(document.getElementById("hidden1").value) }</script></head><body><form><input type="hidden" id="hidden1" value="W3Schools" /><input type="button" id="button1" onclick="alertValue()" value="Show value of the hidden field" /></form></body></html>//____________________________here is the code _________________________can any body give some working code for setting a value? i failed to do it. :)

×
×
  • Create New...