This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » development » Miscellaneous » How Do I Read if a checkBox is checked within java Script?
How Do I Read if a checkBox is checked within java Script? [message #98964] Wed, 12 May 2010 22:29 Go to next message
StanN
Messages: 26
Registered: November 2008
Junior Member
<span onclick="javascript:Header2();">

<?php echo checkbox_tag('IsHot', $IsHot, false) ?>

putting $IsHot as a parameter to Header2 does not seem to work.
Re: How Do I Read if a checkBox is checked within java Script? [message #98965 is a reply to message #98964 ] Wed, 12 May 2010 22:37 Go to previous message
StanN
Messages: 26
Registered: November 2008
Junior Member
var iH = document.init.IsHot.checked;
Previous Topic:Looking for fast developer for paid project
Next Topic:How Do I Do An OnChange with a checkBox
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software