[thelist] NN 4.x and JavaScript

jon steele jjsteele22 at yahoo.com
Sat Sep 29 16:05:48 CDT 2001


Hi Beau,

Try:

document.ThumbForm.CardChoice[i].checked = true;

Jon


--- Beau Hartshorne <beau at cubeinc.ca> wrote:
> This snippet of code simply doesn't work in Netsacpe 4.x. I'm no JS
> expert, so could someone tell me what to do to make it work?
> 
> <script type="text/javascript" charset="ISO-8859-1">
> <!--
> 	// set the radio button by clicking on picture
> 	function checkChoice(i) {
> 		ThumbForm.CardChoice[i].checked = true;
> 	}
> // -->
> </script>
> 
> It's called in the code like this:
> 
> <a href="javascript:checkChoice(1)"><some image></a>
> 
> Thanks,
> 
> Beau
> 
> 
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt ! 


__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com




More information about the thelist mailing list