Load multiple JS files in one call

With this script, you can easily load multiple JavaScript files in one call. The main purpose behind this is to simply cut down on the clutter in your source code. The function can be called from anywhere and the files are specified in an array /* ********************************************************* * * Setup a global config variable that * stores all sitewide values such root * url, absolute paths, Javascript library paths, etc. * ********************************************************* */ var config; config = { URL :...

read more

jQuery “characters remaining” script

This is a jQuery script for displaying “characters remaining” for input fields. It will look for any input element with the class “input” (or whatever you specify) and use the element’s maxlength attribute as the value to count against and update the “fieldName-counter” element. This is a very useful script for those occasions when you want to limit the character entry for an input field. <!-- input and character count element --> <span...

read more