Very cool. Thanks for sharing.

In your code examples for creating HTML you can write it a couple of
other way as well (which you probably already know and just wanted to
show the html method ... but I'll show anyways).

You have:
$('<p></p>')
   .html('Hey World!')
   .css('background', 'yellow')
   .appendTo("body");

You could do it like this:
$('<p>')
   .html('Hey World!')
   .css('background', 'yellow')
   .appendTo("body");

You could also do it like this:
$('<p>Hey World!</p>')
   .css('background', 'yellow')
   .appendTo("body");


Great tutorial.

--
Brandon Aaron


On 4/11/07, Jesse Skinner <[EMAIL PROTECTED]> wrote:

I wrote a jQuery tutorial for IBM DeveloperWorks which went live today:

http://www.ibm.com/developerworks/library/x-ajaxjquery.html

Cheers,

Jesse Skinner
www.thefutureoftheweb.com

Reply via email to