It is interesting you could build anything "huge" without knowing the
var declaration.
It declares the scope of the variable to be in the current function
(or global, if you are not in a function definition).
Any reference to a variable inside of a function,, that was NOT
declared local to that function (using var) refers to the next higher
scope or the global scope.
It is a crucial thing to understand, perhaps you should read a little
tutorial after all.
cheers, Alex
Am 04.07.2006 um 16:48 schrieb Nicolas Terray:
On 7/4/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
I don't know....Maybe you should learn how to program in
javascript in
general..
http://javascriptkit.com/javatutors/index.shtml
lol. Thanks for the suggestion. However I have built successfully some
application with huge use of javascript/prototype with no problem. No
problem until I discover a bug with this keyword. :)
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs