Henry,<br><br>Could you post the generated HTML source containing the submit button? That might help.<br><br>I just checked on Internet Explorer 7 and reconfirmed that confirmation is working correctly for me. Are you using IE6 or IE7? I don&#39;t have IE6 on my laptop, but I can have another guy test IE6 if that&#39;s where you&#39;re having the problem. However, it really should work. The JS code generated by Jifty is like this:
<br><br>if(!confirm(&#39;Are you sure you wish to cancel any changes?&#39;)) { Event.stop(event); return false; }<br><br>The &quot;return false&quot; is the best (pretty much universally) supported solution for stopping the default submit behavior. However, Jifty goes ahead and uses 
Event.stop(event) just to be extra thorough. However, if it&#39;s not working for you, the HTML should show the problem.<br><br>Cheers,<br>Andrew<br><br><div><span class="gmail_quote">On 8/16/07, <b class="gmail_sendername">
Henry Baragar</b> &lt;<a href="mailto:Henry.Baragar@instantiated.ca">Henry.Baragar@instantiated.ca</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello all,<br><br>Has anyone else observed a problem with IE where the Cancel button on a<br>confirmation box acts as a &quot;OK&quot; button and causes the action to be executed?<br><br>I have in my code:<br><br>Jifty-&gt;web-&gt;link(
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;label =&gt; &quot;Delete&quot;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url&nbsp;&nbsp; =&gt; &quot;/delete/customer_user/$seq&quot;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;onclick&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; {confirm =&gt; &quot;Delete $name?&quot;},<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;)<br><br>This code works as expected in Firefox and Opera.&nbsp;&nbsp;But in IE, the action is
<br>executed (ie. the user is deleted) regards of what the user does.<br><br>Does anybody know why this is happening in IE?&nbsp;&nbsp;Does anyone know of a fix or a<br>work around?<br><br>Regards,<br>Henry<br>_______________________________________________
<br>jifty-devel mailing list<br><a href="mailto:jifty-devel@lists.jifty.org">jifty-devel@lists.jifty.org</a><br><a href="http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel">http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
</a><br></blockquote></div><br>