Need to prevent default jquery
<p>I need to stop a form (add to cart) from submitted assuming that a cookie is not set</p>

<p></p>

<pre><code>jQuery('input[name=addtocart]').click(function() {  
    ...
switch(curr_active_table){
      case '1': {
        ...
    alert(" Please select a Lense Option first before Adding to cart");
                event.preventDefault();
    break;  
}
</code></pre>

<p>...</p>

<p>Everything works like a champ till I get to the point I need to stop the even from being submitted</p>
