On Sat, Feb 09, 2008 at 05:07:40AM -0800, Sathyakumar wrote:
> I am not sure What I'm doing wrong, but accessing jQuery function using a $
> symbol doesn't work.
> For example, ${document}.ready(function().... gives me an error "missing ;
> before statement".
It's $(document) instead of ${document}. I've seen the dictionary syntax
so often lately that I start to believe it works. :)
Also try linting your javascript (www.javascriptlint.com).
> The same works when I use jQuery(document).read(function().... I've tried
> both JQuery1.2 and 1.1
It's .ready() - not .read(). But I assume you typo'd here and not in
your code.
Christoph
--
[EMAIL PROTECTED] www.workaround.org JID: [EMAIL PROTECTED]
gpg key: 79CC6586 fingerprint: 9B26F48E6F2B0A3F7E33E6B7095E77C579CC6586