Blog Archive: Javascript/Jquery 4

Some vanilla, some jQuery. All interactive!

Create a Javascript Object Array from URL Parameters

Posted on October 3, 2018 in Javascript/Jquery, Tutorial, Web Development

Passing information from one page to another can be tedious. Does the information need to be stored in localStorage? In a cookie? How will it be accessed by javascript? Can it only be accessed by a backend language like PHP?…

Style Previous Sibling Elements with CSS

Posted on December 20, 2017 in Javascript/Jquery, Tutorial, Web Design, Web Development

After having to look this up a couple of times now, I figured I'd share my approach. While you currently can't technically style previous sibling elements, I've figured out a pretty handy workaround.

Formatting Credit Card Inputs

Posted on February 2, 2014 in Javascript/Jquery, Tutorial, Web Development

Lately, I've been trying to take a look at how I develop forms. Fields need to be validated and it's always better for the user to be notified on the spot. But what if we can format the users' fields for them as they fill them out? Then we can avoid possible form - or worse, shopping cart - abandonment.

Build a Current Day Highlighted Store Hours Display

Posted on July 17, 2013 in Javascript/Jquery, Tutorial, Web Development

I wanted to add an easy way for customers at the site to know very quickly whether the client's office was open or not. At the very least, I wanted today's hours to be front and center.