Here is the javascript behind the postbackwithoptions call. I have no idea what it does though. Can twill work with this? There is nothing else on the form except a checkbox, whose value I set to &#39;on&#39;.<br><br><pre id="line30">
&lt;<span class="start-tag">script</span><span class="attribute-name"> type</span>=<span class="attribute-value">&quot;text/javascript&quot;</span>&gt;<br>//&lt;![CDATA[<br>var theForm = document.forms[&#39;aspnetForm&#39;];<br>
if (!theForm) {<br>    theForm = document.aspnetForm;<br>}<br>function __doPostBack(eventTarget, eventArgument) {<br>    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {<br>        theForm.__EVENTTARGET.value = eventTarget;<br>
        theForm.__EVENTARGUMENT.value = eventArgument;<br>        theForm.submit();<br>    }<br>}<br>//]]&gt;<br>&lt;/<span class="end-tag">script</span>&gt;<br></pre><br><br><div class="gmail_quote">On Thu, Apr 23, 2009 at 5:20 PM, im me <span dir="ltr">&lt;<a href="mailto:amilli88@gmail.com">amilli88@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi All,<br><br>I am having trouble with a submit function on a web form. When I do it through the browser, the submit hits one page and then redirects to another, but when I use twill, the submit button merely hits the first page and hangs there. I get a 200 code, which suggests that it is done... <br>

<br>There is some sketchy javascript on the submit button:<br><br>&lt;<span>input</span><span> type</span>=<span>&quot;submit&quot; </span><span>name</span>=<span>&quot;ctl00$centerContent$NextButtonControl&quot; </span><span>value</span>=<span>&quot;Buy Tickets&quot; </span><span>onclick</span>=<span>&quot;javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&amp;quot;ctl00$centerContent$NextButtonControl&amp;quot;, &amp;quot;&amp;quot;, true, &amp;quot;valBuyTickets&amp;quot;, &amp;quot;&amp;quot;, false, false))&quot; </span><span>id</span>=<span>&quot;ctl00_centerContent_NextButtonControl&quot; </span><span>class</span>=<span>&quot;go_button go_grow&quot; </span><span>style</span>=<span>&quot;margin:0px; padding:0px;&quot; </span><span><span>/</span></span>&gt;<br>

<br>any ideas?<br><br>Thanks!<br><pre><br><br></pre>
</blockquote></div><br>