Browse by Tags
All Tags »
Javascript (
RSS)
I recently gave a presentation on Object Oriented JavaScript (OOJ) and received some good feedback so the next few posts will be a more verbose version of that presentation. AGENDA Part 1 – JavaScript Review Part 2 – How Part 3 – Why Use OOJ? Part 4 ...
I recently gave a presentation on Object Oriented JavaScript (OOJ) and received some good feedback so the next few posts will be a more verbose version of that presentation. AGENDA Part 1 – JavaScript Review Part 2 – How Part 3 – Why Use OOJ? Part 4 ...
For reference. To maintain context in a JavaScript callback use a closure and an anonymous function. For example: var curObj = this ; //closure to get context in callback $( '#foobar' ).animate({ height: 100 }, 1000, "jswing" , function () { alert(curObj...
We've all used, and unfortunately some people continue to use, alert() to help debug JavaScript. Thankfully the Microsoft Ajax Library has a Sys.Debug class that exposes methods for logging messages to the browser’s JavaScript console. For reference:...
Unless you've been living under a rock you know that Microsoft has recently partnered with jQuery and will be shipping jQuery with future versions of Visual Studio. When the announcement was made I didn't know much about jQuery, how it would work with...
More Posts