Larry Steinle

April 17, 2014

Create HTML Using CSS-Shorthand

Filed under: Web — Larry Steinle @ 8:56 pm
Tags: , , , , , , , ,

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…)

Advertisements

January 6, 2014

Required Automatically Enforced On Input Tags in Internet Explorer

Filed under: VS.Net,Web — Larry Steinle @ 8:18 pm
Tags: , , , , ,

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

Filed under: RegEx,Web — Larry Steinle @ 11:45 pm
Tags: , , , ,

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

Filed under: VS.Net,Web — Larry Steinle @ 8:32 pm
Tags: ,

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

Filed under: VS.Net,Web — Larry Steinle @ 12:47 pm
Tags: , , , , , ,

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

Undefined XMLHttpRequest.responseXML.xml

Filed under: VS.Net,Web — Larry Steinle @ 6:14 pm
Tags: , , , , ,

Today I encountered an interesting AJAX problem. I had code that worked perfectly in IE 7, 8 and 9, but not IE 10! So this post is for the die-hard JavaScript programmers out there who are scratching their heads wondering why their AJAX calls stopped working.
(more…)

October 9, 2013

JavaScript Hash Array (Dictionary)

Filed under: Web — Larry Steinle @ 10:15 pm
Tags: , , ,

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!

Filed under: Web — Larry Steinle @ 6:59 pm
Tags: , , , ,

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.

(more…)

August 17, 2013

How to Create a Clean, Extensible JavaScript Library

Filed under: Web — Larry Steinle @ 10:21 pm
Tags: , , , , ,

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.

(more…)

December 4, 2011

Create Scrollable Table with CSS and jQuery

Filed under: Web — Larry Steinle @ 10:50 am
Tags: , , ,

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.

(more…)

Next Page »

Create a free website or blog at WordPress.com.