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
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
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
3 matches
Mail list logo