I might be using the wrong patterns here, but if I am, I hope someone can correct me!
I have an object which represents a user's workspace and, in response to a ...
I'm trying to make a form send its data through AJAX and cancel the event sans jQuery, just for learning native javascript, which can never be bad, i figured. Anyway, this ...
I am trying to implement a model in javascript in a object-oriented manner. Say I have object X with bunch of functions. I want to have an object array "in X" ...
Perhaps I'm missing something major, but is there a way to use Object.watch() on variables that exist independent of objects?
I'm a bit of a js noob, and couldn't find any ...
I am building something for mobile and would like somehow to clear, null objects, variables to release a bit of memory. Here I have two quick examples, both are anonymous functions ...
Yes, that works! Thank you. A minor detail remains: how to make this code feel more OOP like. I know JS is not like that but defining two separate functions along the one necessary "prepare()" that is called after onLoad so that all the defined "getElementById" actually work - is there a neat approach? Because those functions have hard-coded variable names ...