Tags Archive

Displaying posts with tag: jquery

Running jQuery in Windows 8 apps

I wrote a jQuery wrapper for the native WinJS library that is both light-weight and fast.Read the full article here: http://practicaljs.com/jquery-wrapper-for-winjs/

Geocoding with Google Maps and the Zend Framework

Geocoding with Google Maps and the Zend Framework

Download Example Files : Zip RAR Maps are a great way to engage your users and visualize data, but it can be a little tricky to setup. Here I will walk you through the steps needed to get a map up and running. //Sign Up Apply for a Google Maps API Key (free) here using your domain without Read More

jQuery Tabs Keyboard Shortcuts

jQuery Tabs Keyboard Shortcuts

I have integrated jQuery's UI tabs into a number of my projects and have had to significantly modify the code to achieve some goals (like being able to easily add and remove tabs. One of the simpler thing I have done with the tabbed interface is let users navigate them using keyboard shortcuts. Here is Read More

jQuery U.S. States Autocomplete

Yes, I looked too; but it's not out there. Here is a quick plugin I wrote utilizing the popular jQuery Autocomplete function found hereAdd it to your form element by using:<input type="text" id="state_search" /> <input type="hidden" name="state" /> ... <script type="text/javascript"> $('#state_search').states(); </script>Here is the list and the jQuery function:var state_autocomplete = [ {full:"Alabama",abbr:"AL"}, {full:"Alaska",abbr:"AK"}, {full:"Arizona",abbr:"AZ"}, {full:"Arkansas",abbr:"AR"}, {full:"California",abbr:"CA"}, {full:"Colorado",abbr:"CO"}, {full:"Connecticut",abbr:"CT"}, {full:"Delaware",abbr:"DE"}, {full:"District of Columbia",abbr:"DC"}, {full:"Florida",abbr:"FL"}, {full:"Georgia",abbr:"GA"}, {full:"Hawaii",abbr:"HI"}, {full:"Idaho",abbr:"ID"}, {full:"Illinois",abbr:"IL"}, {full:"Indiana",abbr:"IN"}, {full:"Iowa",abbr:"IA"}, {full:"Kansas",abbr:"KS"}, {full:"Kentucky",abbr:"KY"}, {full:"Louisiana",abbr:"LA"}, {full:"Maine",abbr:"ME"}, {full:"Maryland",abbr:"MD"}, {full:"Massachusetts",abbr:"MA"}, {full:"Michigan",abbr:"MI"}, {full:"Minnesota",abbr:"MN"}, {full:"Mississippi",abbr:"MS"}, {full:"Missouri",abbr:"MO"}, {full:"Montana",abbr:"MT"}, {full:"Nebraska",abbr:"NE"}, {full:"Nevada",abbr:"NV"}, {full:"New Hampshire",abbr:"NH"}, {full:"New Jersey",abbr:"NJ"}, {full:"New Mexico",abbr:"NM"}, {full:"New York",abbr:"NY"}, {full:"North Read More

jQuery Form Validation: theory and practice

jQuery Form Validation: theory and practice

jQuery makes it very easy to validate forms. There are a number of useful plugins, the most prominent being validate. If you are wanting something very lightweight or are just interested in how something like this works, read on. The $.each function allows you to iterate over collections in jQuery, it is really one of Read More