Articles tagged with #javascript




Creating a DateTime Range with Timepicker

I've had a lot of users recently asking how to create a date/time range using the timepicker addon. Currently the jQuery UI documentation has an example using just datepicker, but it won't quite work the same when using the timepicker. Why? The example from the jQuery UI docs explicitly …



Impromptu 3.2 - Mobile jQuery Prompts

jQuery Impromptu has seen a little attention lately, mostly dealing with some mobile improvements. While it did work before on most decent devices, iPad and company politely decided not to enable the position:fixed css property. Of course the reasoning behind this is logical. If a large element is "position …



jQuery Timepicker Addon 0.9.7 Now Available

Its been a while in the making, with a few additions and many great bug fixes! Thank you to all contributors for helping with this. With the new version comes the addition of milliseconds and more versatile AM/PM markers. In each translation file there is now an array of …



Looping Through Dates with Javascript

Earlier in the week I posted an adjust and a diff function for the javascript Date object. Since I was on a roll with the dates I thought I would throw another one in there as it seems to just go hand in hand. This method is an "each" method …



Better Javascript Date Add and Diff

When you need a snippet of javascript it seems the first approach is to see whats available. If your javascript framework doesn't have a method you need, you go to google. Well sometimes the results on google come up with either crazy solutions or something that is just not quite …



Updated Lint for Clientside

For those fans of Gedit and Clientside plugin it is time for you to update! The plugin now has updated versions of CSSLint, JSLint, and JSBeautify. As you may know Clientside Plugin provides several utilities to Gedit for working with CSS and Javascript, including minifying, formatting, and error checking/lint …



Javascript RegExp Match - Named Captures

Anyone who does much javascript development and is familiar with regular expressions knows that javascript is missing one fun little part of regular expression matching, named captures. However without this functionality javascript still works fine, it just returns results from a match in a standard array. For convenience sake it …



Many Updates to Timepicker

If you've been keeping up with timepicker over on github, you have probably seen the slew of changes over the past couple weeks. This is mostly thanks to generous users who have sent over everything from translations, new features, and bug fixes. Among the new features is Milliseconds. This works …



Clientside Discussion

I keep seeing mention of a few "preprocessors" for javascript and css, including CoffeeScript, Sass, and Less. I personally don't see the need in these tools, but apparently they are all the rave at the moment. Essentially what these do is allow you to write in a more functional language …



Gedit Clientside Now with CSSLint

It only feels right to include a lint method for CSS since javascript has had support in the Gedit Clientside Plugin from the beginning. The latest commit over on Github now includes CSSLint through the nodejs hookup. Don't worry, if you had it working before all you need to do …