[jQuery] Re: New to jquery. Things just don't work.

2008-02-03 Thread Charles K. Clarkson
Sathya wrote: : ${'a'}.click(function() { That should be: $('a').click(function() { HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 http://www.clarksonenergyhomes.com/wordpress/about/

[jQuery] Re: New to jquery. Things just don't work.

2008-02-03 Thread Muhammad Mohsin
hello sathya there is an error in ur code. u miss the semi colon(;) after the function end. ${document}.ready(function() { ${'a'}.click(function() { alert("Link clicked"); ${'#main-content'}.html(' Hello '); return false; }); <=Here u miss the semi colon }

[jQuery] Re: New to jquery. Things just don't work.

2008-02-03 Thread Karl Swedberg
On Feb 3, 2008, at 7:47 AM, Sathya wrote: Hi, Am new to jquery and also not so proficient with . So bear with me if it sounds silly. I just can't get jquery to work the way its promised. I did these, 1. Downloaded jquery-1.2.js 2. Included it in my html. And wrote my first code as this ${d

[jQuery] Re: New to jquery. Things just don't work.

2008-02-03 Thread Chris Scott
On Feb 3, 2008, at 7:47 AM, Sathya wrote: Hi, Am new to jquery and also not so proficient with . So bear with me if it sounds silly. I just can't get jquery to work the way its promised. I did these, 1. Downloaded jquery-1.2.js 2. Included it in my html. And wrote my first code as this ${d