Skip to content

Instantly share code, notes, and snippets.

View leadVisionary's full-sized avatar

Nicholas Vaidyanathan leadVisionary

View GitHub Profile
@leadVisionary
leadVisionary / unclean.js
Created October 17, 2011 22:06
Typical jQuery versus Better jQuery
jQuery(document).ready(function(){
jQuery("#zipCode").change(function(){
jQuery.ajax({
type : 'POST',
dataType : 'json',
data : {
zipCode : jQuery(this).val(),
state : jQuery("#state").val()
},
url : <g:link action="territoryLookup" />,