View Full Version : How do I capture when a user has clicked on a radio button?
quinu
04-11-2006, 06:42 PM
How do I capture when a user has clicked on a radio button? I need to advance a frame as soon as the radio button is selected.
like:
myradiobutton.addEventListener('click','functionto triggerwhenclicked');
functiontotriggerwhenclicked=function(){
trace('radio button clicked');
}
syntax maybe off a bit.... didn't look this one up. look up addEventListener in help panel for correct syntax.
quinu
04-11-2006, 10:17 PM
Thanks. I did a little tweeking, but you got me headed in the right direction.
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.