javascript




Negative Substr, Why Must You Plague Me?

Twice over the past few weeks using a negative start value for both String.substr and Array.splice has come back to bite me. So, for the record, if you are use to using: // should return 'bar' 'foobar'.substr(-3); // should return [2,3,4] [0,1,2,3,4 …



Timepicker 1.0.4 is Here

A new Timepicker is now available. It brings a few bug fixes only, no new features. IE bug fix when parsing datetime Simplify min/max constraints in _setTime Better constraints from setting time from field Improve parsing datetime Fix default timezone issue You can grab the latest version from the …



jQuery SliderAccess Plugin Documentation

I posted before about a plugin which adds a simple method to touch accessibility to jQueryUI Slider, called SliderAccess. This plugin adds buttons beside the slider so that you can press the button to adjust the slider. It previously lived on a blog post, but I have moved it over …



A Quick Timepicker Update

A week after timepicker version 1.0.2 was released, I am releasing 1.0.3. This comes after I noticed a couple issues with changes in 1.0.2. Also I had already been working on refreshing the documentation, so I figured there was no better time than now …



jQuery Timepicker 1.0.2 Now Available

jQuery Timepicker Addon 1.0.2 is now available. This release brings a ton of updates. I would like to say thank you to everyone who has participated! Here is a rundown of a few of the major changes: Various documentation and example updates. Fix bug with am/pm parsing …



jQuery TypingEnd Event

Ever wanted to fire an event when a user stops typing into an input or textarea? Here is a quick jQuery plugin to do just that: (function($){ $.fn.extend({ typingEnd: function(callback, timeout){ callback = callback || null; timeout = timeout || 500; return this.each(function() { var $t = $(this), elapse_timeout = null; if(callback …



5 Must Know Javascript Regex Tips

You won't make it too long with javascript before you need to create a savvy regular expression. Regular expression can be tricky, so here are 5 tips to help you find what you're looking for. Lets take the following block of text: Lorem ipsum 12345-4321 dolor sit amet, consectetur adipisicing …



jQuery Timepicker 1.0.1 is Available

Bug fixes and improved timezone support has been brewing for a while, and it is here with jQuery Timepicker Addon version 1.0.1. A quick overview of the changes include: Bug fix for empty field Bug fix for setTime Added localization for Afrikaans language JSLint compatibility changes Add $.datepicker …



Finance.js - Financing, Loan, Interest Javascript Library

Accounting.js, meet Finance.js. Thanks to the excellent Car Bounce App, a handy new javascript library is now available. Similar to accounting.js, finance.js tackles other money topics: Financing, Loans, and Interest calculations. So what can Finance.js do? It may be easiest to describe a simple situation …



New jQuery Timepicker Addon - 0.9.9

I'm excited to announce another great release of jQuery Timepicker Addon! This release brings many fixes and a new feature or two. First thank you to everyone who provided fixes, translations, and bug reports. While I can't get to every bug report, I do value and appreciate them. With this …