jQuery

Friday, March 19th, 2010 06:50 pm
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
[personal profile] afuna
Some useful places to start if you want to find out about jQuery:

7 Amazing Presentation Slides to Teach you How to Code with jQuery

15 Resources To Get You Started With jQuery From Scratch

And if you don't want to bother with setting up an HTML testbed (I know I was too lazy to!), a quick way to get started playing while going through the slides is the jQuery section of the Google Code Playground.

For example, replace the OnLoad function there with this:

function OnLoad(){
  $("#content").html("<div id='click'>click me</div><div  id='slide'>slide</div>");
  $("#click").click(function() { $("#slide").slideToggle(); });
}

Date: 2010-03-19 01:41 pm (UTC)
watersword: A laptop, a cup of tea, and glasses, with the word "online" (Stock: online)
From: [personal profile] watersword
Oooh, thanks for this.