title: How to prevent form on submit behavior in jquery?
body: <p>I need to get an .click() event and prevent form from behaving as it was initially designed and make my own changes and submit. How is it possible?</p>
  
  <p><strong>EDIT:</strong> Form input actually has an onclick defined behavior. I need to redefine it somehow.</p>
  
  <p><strong>EDIT:</strong> Some code</p>
  
  <pre><code>&lt;form action='link' method='get'&gt;
     &lt;input type="image" name="name" id="id" class="class" onclick="this.form.action='some_link'" title="Title" value="" src="image.gif"&gt;
  &lt;/form&gt;
  </code></pre>