[jQuery] Re: onClick prepend

2008-02-02 Thread Mark
Anyone have any ideas at all on this problem? Our deadline is approaching fast! I think that the click() function attached to the DOM element must be the DOM level 2 stuff. Any ideas? Maybe there is a different approach I can try? Man, I wish IE wasn't such a pain! On Feb 1, 8:08 am, Mark

[jQuery] Re: onClick prepend

2008-02-01 Thread Mark
Now I have a new problem. When the onclick event is added with the standard event model (addEventListener via jQuery) I can't seem to get access to it. I noticed the event jQuery added to the element is stored in a property called 'click' instead of the standard 'onclick'. So I tried something

[jQuery] Re: onClick prepend

2008-01-31 Thread Mark
Ok, well I have a solution! I guess IE doesn't like the eval() function. http://ajaxian.com/archives/evaling-with-ies-windowexecscript script type=text/javascript var global = this; $(document).ready(function() { var onClickAttr = $('#clickTester').attr('onclick');