Flash Games

 FAQ   Search   Members   Groups   Register  User Control Panel      Login 

Your time now:
Mon Nov 23, 2009 2:10 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ]  Bookmark and Share
Author Message
 Post subject: boxes
PostPosted: Thu Aug 13, 2009 6:07 pm 
Offline

Joined: Wed Mar 14, 2007 5:58 pm
Posts: 5
Hey I am trying to know what is the value of of a check box (true, or false)

but i cant seem to get it write


Code:
function getPrice(boxName){

   alert(form1.Soft_Top_Cloth.checked) // Hard code box name it works
   alert(form1.boxName.checked) // passed threw variable not working
}





Code:
<input type="checkbox" name="<%= boxName %>" id="<%= boxName %>>" onchange="getPrice('<%= boxName %>')" />



Thanks for all the help


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group - Flash Games - TNX Invitation Code - TNX Review


Webmaster - Excruciating - Johnathan - Kotik - Ash - Tomi - rangana - Phate - dflynn - Medley