title: How to have a jQuery Modal window open on html form submission
body: <p>I am using a simple html form to submit a product from my website to my remotely hosted Mal's e-commerce shopping cart. 
  I need to have a modal window (containing an iframe) open when the form is submitted. I don't have access to server-side programing for the shopping cart, so is there a way to launch the jQuery modal window using an onclick html event attribute?</p>
  
  <p>Right now, the onclick attribute at the bottom of the form opens a js browser alert...basically I need to replace this js alert with my jQuery Modal Dialog window.</p>
  
  <p>Can anybody help?</p>
  
  <p>Here is my form as is:</p>
  
  <pre><code>&lt;form action="http://ww7.aitsafe.com/cf/add.cfm" method="post"&gt;
  &lt;input type="hidden" name="userid" value="96309001"&gt;
  &lt;input type="hidden" name="nocart"&gt; 
  &lt;input type="hidden" name="producturl" value="http://www.fruitfulfarm.net/cart_2.html"&gt;
  &lt;input type="hidden" name="product" value="Test Product"&gt;
  &lt;input type="hidden" name="price" value="49.99"&gt;
  &lt;input type="hidden" name="return" 
  value="www.fruitfulfarm.net/cart_2.html"&gt;
  &lt;input class="rounded" type="submit" name="submit" value="Add To Cart"
  onclick="alert('Order has been added to your cart\n\nThis page will refresh');"
  onkeypress="alert('Order has been added to your cart\n\nThis page will refresh');"&gt;
  &lt;/form&gt;        
  </code></pre>