If I dynamically create an achor in IE6 and IE7, it's onclick event
won't fire when clicked on. Below is an example of a static anchor
and dynamic anchor - both are supposed to pop up an alert. Why does
only the static anchor work?
JS JS JS JS JS JS JS JS JS JS JS JS
onclick: "alert('this link works')"
).update('dynamic power button')
HTML HTML HTML HTML HTML HTML
onclick="alert('this link works')">
static power link
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to
For more options, visit this group at