[jQuery] Re: onclick and jquery in the Outlook browser

2009-12-21 Thread gorfbox
Hello Scott, hello lelando, > $("body").append($('').click({alert('test');return false}).text > ("Dynamic")) ; > $("body").append($('').click(function(){alert('dynamic test');return > false;}).text("Dynamic")); Both of your suggestions were exactly what I needed, jammed it into my code and i

[jQuery] Re: onclick and jquery in the Outlook browser

2009-12-18 Thread lelando
Why not just use the .click() method of jQuery instead? Like this: $(document).ready(function(){ $("body").append($('').click({alert('test');return false}).text ("Dynamic")) ; }); On Dec 18, 12:47 am, gorfbox wrote: > Hi folks, > > I'm h

[jQuery] Re: onclick and jquery in the Outlook browser

2009-12-18 Thread Scott Sauyet
On Dec 18, 3:47 am, gorfbox wrote: > I'm having a dickens of a time with something that should be easy. > When using $("body").append to place an anchor containing an "onClick" > statement in the html body, the code is executed and the anchor is > shown, but the onclick doesn't work. Strangely eno