How to track down a page reload in javascript
<p>I am debugging a page that has a jquery dialog that contains a textbox and an ok button.</p>

<p>When a user hits enter, the page is reloading and the textbox ID &amp; value are being passed to the page reload as get parameters.  e.g. </p>

<pre><code>http://example.com?tex_box_id=text_entered_in_text_box
</code></pre>

<p>I cannot figure out what is causing this behavior and can't figure out how to best track it down since the page itself is reloading.</p>

<p>I have tried stepping through all the jquery code, but did not have any luck.   I can only assume that somebody somewhere attached a key press listener, but I can't figure out who.  I know I can work around this by preventing theirs from running, but I still really want to figure out why it is happening.  </p>

<p>Note that this does NOT happen if you click the OK button, only if you hit enter when you are in the text box</p>
