Creating HTML markup requires a lot of typing. For nearly every opening tag there is a closing tag. There is a shorter, faster way to create HTML!
(more…)
April 17, 2014
Create HTML Using CSS-Shorthand
January 6, 2014
Required Automatically Enforced On Input Tags in Internet Explorer
A month ago I discovered an odd behavior while regression testing a web application. When I typed the exact value that is in the title attribute of an input tag the field became required disabling form submission until the value was changed. The new behavior had me stumped until I realized it only happens in Internet Explorer 10 and greater.
(more…)
December 1, 2013
HTML5 Required and Pattern Attribute Fallback
Continuing with the theme from the last article on an AutoFocus fallback, today we will learn how to support the Required and Pattern attributes.
(more…)
November 11, 2013
Supercharged Html5 AutoFocus Fallback
The HTML5 specification introduces several helpful additions. One of my favorites is the autofocus attribute. This attribute ensures that the cursor is placed inside the first input, select or textarea tag containing the autofocus attribute.
(more…)
October 25, 2013
jQuery Support for IE 10 XMLHttpRequest
In my previous article, Undefined XMLHttpRequest.responseXML.xml, I explained that IE 10 no longer returns an XML Document object for xml responses but instead returns a DOM Document. Today’s post is a continuation demonstrating how to get an XML Document from a web service using jQuery.
(more…)
October 14, 2013
October 9, 2013
JavaScript Hash Array (Dictionary)
A hash array (aka dictionary) stores a value in memory that is accessible using a key name. I like using hash arrays to store the key/value pairs found in an URL’s query string. JavaScript comes with a standard indexed array but lacks a hash array. Lucky for us creating a hash array is a very simple and useful exercise in JavaScript.
(more…)
August 18, 2013
JavaScript Chaining Made Fun!
The chain pattern allows several actions to be executed within a single line of concurrent code. jQuery’s use of chaining has popularized the concept so that the masses now prefer chaining their method calls. Creating an application that supports chaining can be cumbersome. This article will demonstrate how to add chaining functionality to any JavaScript class without modifying any code in the class you want to upgrade to support the chaining pattern.
August 17, 2013
How to Create a Clean, Extensible JavaScript Library
One of the biggest challenges developer’s face when working with JavaScript is organizing their code into easy to manage, maintainable blocks of code. This article will step through the process to create a clean, simple, extensible JavaScript Library Framework.
December 4, 2011
Create Scrollable Table with CSS and jQuery
In the post, CSS Table Scrollbar with Fixed Headers, we explored a fairly simply way to create tables with scrollbars using CSS. Today we take it up a notch using jQuery to eliminate several limitations introduced with the pure CSS approach.