Hello,
I saw some old code that had:
<input type="submit" name="submit" onsubmit="somefunction(this)" />
I was jQuery'ing the script, how do I get the pure javascript (this) object in jQuery?
$("input[name=submit]").click(function() {
somefunction(// ?? is it $(this) );
});
Thanks!