[jQuery] Re: Using Literal Objects in Javascript with JQuery

2008-02-07 Thread rics
Object Literal is a specification of EcmaScript... The most usefull example of it is JSON. JSON is basicaly an "implementation" of OL... Well, I'm not the best teacher for this... I'm learning it too. On Feb 6, 2:06 pm, J Moore <[EMAIL PROTECTED]> wrote: > Yes, great screencast. (I think i lea

[jQuery] Re: Using Literal Objects in Javascript with JQuery

2008-02-06 Thread J Moore
Yes, great screencast. (I think i learned a little portuguese too.) A question about literal objects - is it fundamentally different than using prototype? // // example 1: literal obj // var Counter = { container = $('#counter'); start: 1, init: function() { container.val(start); } } $(d