July 19th, 2011

This.Disabled = True Doesn’t Work in Chrome

A common way to prevent duplicate forms submissions caused by the user clicking the submit button twice is to do this: <input type="submit" value="Submit" onclick="this.disabled=true;"> This doesn’t work in Chrome. When the button is disabled, all events associated are halted including the form submission. Instead we had to do this: jQuery.fn.preventDoubleSubmit...

August 10th, 2010

Shopp Plug-in Cart Updated Method

In one of the random projects we undertook, we implemented the Shopp plugin for WordPress, which by all accounts is a pretty decent shopping cart. Like most things WordPress, you can stretch it’s functionality only so far before you reach the end of the sidewalk. Then, if you’re really brave (read: stupid) you can then start altering core code. In one of the 11 Bridges Success blog posts...