[jQuery] Re: $ javascript syntax

2009-01-27 Thread JeromeM
it's okay i found the answer for anyone who didnt read the intro like i didn't $ is an alias for the jquery object. On Jan 27, 9:39 am, JeromeM wrote: > i tried searching the web, but couldnt find $ notation for javascript, > but presumably it is javascript syntax  as per the following examp

[jQuery] Re: javascript syntax question

2008-06-26 Thread owidjaya
thanks karl that is really clear Karl Rudd wrote: > > > The short: Define and immediately execute an anonymous function. > > The long: > > function blah() { ... } // define a named function > > blah(); // execute a named function > > > function() { ... } // define a function with

[jQuery] Re: javascript syntax question

2008-06-24 Thread Karl Rudd
The short: Define and immediately execute an anonymous function. The long: function blah() { ... } // define a named function blah(); // execute a named function function() { ... } // define a function without a name (anonymous) // can't execute the function because it doesn't hav