Jason | 21st November 2013
jQuery 1.10.2 This is pretty straightforward really. I want to keep all my validations in a seperate file and call them to act on a specific form after the page has fully loaded. I keep forgetting the syntax, so this is as much for me in future as for you! 123456789101112131415(function($){ var validateInputForm […]
Jason | 12th July 2013
Chrome 27.0.1 This could keep you busy for hours. When trying to debug an error in the XHR (AJAX) requests, the status of the request is returned as simply canceled, without a valid HTTP Header. Very Useful. This unusual error is almost always caused by a violation of the Same Origin Policy. Basically, the policy […]
Jason | 4th January 2013
jQuery 1.4+, A modern browser We want to have plus and minus buttons to increment our product quantity, rather than just a boring input box that a user might have to (GASP) type into! From this: To this: Yes, much lazier, erm I mean… nicer 😉 1234567891011<div> <a class="decrement_qty" href="javascript:void(0)"> <img src="images/minus-qty.png" […]
Contact Me
Please fill out the form below and I will reply ASAP. I aim to answer all emails in 48 hours or less.