[thelist] onclick not working in IE6 or IE7 - script works in Firefox

Matt Warden mwarden at gmail.com
Tue May 13 23:53:23 CDT 2008

On Wed, May 14, 2008 at 12:37 AM, Blake <haswell00 at gmail.com> wrote:
>                 link[i].setAttribute('onclick', 'swapStories(' + i +

You can not set onclick using setAttribute. onclick is a javascript
property. Try using the "link[i].onclick =" syntax

See also:
http://lists.evolt.org/archive/Week-of-Mon-20060821/184707.html (link
within this post is dead and moved to:

Matt Warden
Cincinnati, OH, USA

This email proudly and graciously contributes to entropy.

More information about the thelist mailing list