Latest Useful Web Resources and Links #1, March 2016

I created this page as a running repository of useful, miscellaneous web notes for later reference. Javascript & JQuery How to get the latest version of JQuery: Useful info about Javascript and JQuery source maps -- an explanation about what they are and how they are used: http://elijahmanor.com/the-magic-of-the-jquery-1-9-source-map/ Parsley -- A reliable and easy…

JQuery Datepicker: The quickest way to add hour and minute values to form’s date input field

The JQuery UI library's Datepicker function is very convenient.  Here's a way to override the date field if you want to allow the user to also input the time of day along with it without adding an extra field and deal with merging the values in the backend.  You can also add "+d.getSeconds()" if you…

Validating forms with JQuery Validation: Ensuring at least one checkbox is checked

On occasion, you're going to have some mammoth form that doesn't validate properly with any Javascript validation library.   One event is when the form you are given to deploy has a lot of checkboxes and one of those checkboxes needs to be checked to be valid.  The easiest way to make sure this happens is…

Get the image width and height of an image file at a remote URL in Javascript

Here's how you can get the image width and height of an image file at a remote URL. This will return an a multi-element associative array containing values under "width" and "height" as its keys.

Google Chrome’s form autocomplete feature — shutting it off to avoid UI chaos for complex forms

All browsers have their idiosyncrasies -- Internet Explorer had so many Microsoft is changing its name. Here's another one of a hundred browser "idiot syncrasies" that wasted so much time.  I've always developed sites first for Firefox then Chrome then found I had to add more hacks on top for IE, the infamous "shiv" code…