Jump to content

Javascript question


eva21

Recommended Posts

Try this:

<form>
<input type="button" onclick="txt1.style.display='inline'" value="Show Text Box">
<input id="txt1" type="text" style="display:'none'"><br>
<input type="button" onclick="txt2.value++" value="Increment">
<input id="txt2" type="text" CONTENTEDITABLE=false value=0>
</form>

Link to comment
https://forums.phpfreaks.com/topic/120348-javascript-question/#findComment-620246
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.