Skip to content

Instantly share code, notes, and snippets.

@adamlogic
Created November 20, 2008 15:05
Show Gist options
  • Save adamlogic/27056 to your computer and use it in GitHub Desktop.
Save adamlogic/27056 to your computer and use it in GitHub Desktop.
jaxy: function() {
return this.each(function() {
if (/^a$/i.test(this.tagName)) $(this).ajaxLink();
if (/^form$/i.test(this.tagName)) $(this).ajaxForm({dataType: 'script'});
});
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment