Jeff Ober schrieb:
> Version 1.0.3.  Also, yahoo rewrote my syntax there a bit - those yes/no links
> should actually be written out:
> 
> $('#question').append($('<a id="yes" href="#" class="answer">Yes</a> / <a
> id="no" href="#" class="answer">No</a>'));
> 
> ...hopefully that won't get rewritten :)


There's a redundant jQuery object...:

$('#question').append('<a id="yes" href="#" class="answer">Yes</a> / <a 
id="no" href="#" class="answer">No</a>');


:-)

-- Klaus

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to