Portal Home > Knowledgebase > Articles Database > Fill a checkbox based upon onclick number (javascript)


Fill a checkbox based upon onclick number (javascript)




Posted by gpl24, 06-24-2008, 08:55 PM
I have a pre-written javascript form like so: the button: When I click this button, it selects a # for my pull down menu. Presently, I have a checkbox on the same page that is unchecked. How can I tell this script to check (fill) the checkbox name "myname" only if the # that was selected is 13?



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Help in Webmail (Views: 709)


Language: