Hi! Kindly visit following link: http://www.articlecon.com/sitesdemo/ship/viewquote.php?mid=1
When I click 'Send Message To Shipper' button, Form is submitted, where as I placed following jQuery code to stop submission. <script type="text/javascript"> jQuery(document).ready(function(){ var Mts, clk, sShow; jQuery('#smts').click(function(){ alert('Click'); Mts = 1; }); jQuery('#recFrm').submit(function(){ return false; /* alert('Out Of Mts Submit'); if(Mts){ alert('In Submit sMts'); jQuery('#act').val('SMTS'); jQuery(this).attr('action', 'submit/followup.php'); return true; } else{ return false; } */ }); }); </script> Can some one guide me what and where Iam doing wrong. Thanks in advance