[thelist] NN 4.x and JavaScript

Beau Hartshorne beau at cubeinc.ca
Sat Sep 29 15:06:53 CDT 2001


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





More information about the thelist mailing list