Posted by: pureessence on: September 22, 2011
There is a business requirement on a project I have at work to only allow a certain number of properties editable at a certain stage of the domain object’s life cycle. And like always, the properties defined to be editable could change in the future. I already have a page that allows the user to [...]
Posted by: pureessence on: September 2, 2011
Being a big jQuery fan, I use jQuery.each method a lot in my Javascript code. Until recently I didn’t think too hard what jQuery.each really is. Its description says it’s an iterator but it certainly is NOT a true iterator. For example: Let me know what you expect the code below to return. Before I [...]
Posted by: pureessence on: July 24, 2011
After over ten years of javascript programming, I’m finally seriously considering writing at least unit tests for my javascript. Since I’m such a big fan of jQuery, QUnit seems like the obvious choice. It’s sad but better late than never. The truth is, in my opinion, the fact that javascript test frameworks do not yet [...]
Posted by: pureessence on: June 6, 2011
So I upgraded to jQuery UI version 1.8.2 at work and thought that I should instead of using the autocomplete plugin which is deprecated, switch over to use the jQuery UI build-in autocomplete widget. jQuery UI autocomplete widget is NOTHING like the original jQuery autocomplete plugin!!! At least by jQuery UI version 1.8.2 it’s not. [...]
Posted by: pureessence on: March 1, 2011
While reviewing an existing project at work, I notice it has many delete confirmation pages. In my opinion, delete confirmation PAGES should really just retire from the face of the earth. Seriously, why do we need to create a http request & html for the mere purpose of asking “Are you sure you wish to [...]
Posted by: pureessence on: August 2, 2010
Yesterday I attended Ted Neward‘s game design session at nofluff. It inspired me to begin to implement the game sequence in an ajax app. It will be a private app since I only plan to play it with some friends. But it will be hosted somewhere on my website so it can be accessed from [...]
Posted by: pureessence on: February 14, 2010
Very nice jQuery session timeout countdown example with the use of the jQuery idleTimer plugin. Here’s my example with the jQueryUI dialog as the warning. Here’s my example with the jQueryUI dialog as the warning.
Posted by: pureessence on: February 12, 2010
I just learned IE does not support jQuery’s new live (event delegation) binding on the change event. Very nice IE, you did it again.
Posted by: pureessence on: January 29, 2010
I like being able to manually control my loading screen with my ajax calls. Previously I was using the blockUI jQuery plugin. It’s a great plugin. You may turn an overlay on your entire screen or just a layer on or off by simply calling and Since at work they are hosting the jQueryUI package, [...]
Posted by: pureessence on: January 22, 2010
Here’s a jQuery scenario I encountered today at work. I found the solution interesting. I have 2 identical selection dropdowns. When I select from the first one I want to copy the selection value into the second. However, I also have a change event attached to the second selection dropdown. In order to make sure [...]
SocialVibe