I\'ve been observing some strange behavior with the following code:
$.fn.submit_to_remote = function() { // I use .each instead of the .submit directly so
Easier yet is:
$(".some-class").off().submit(function() { //Do stuff here });