RESOLVED DUPLICATE of bug 14828 19444
form submit stops javascript execution
https://bugs.webkit.org/show_bug.cgi?id=19444
Summary form submit stops javascript execution
Sunhwan Jo
Reported 2008-06-08 21:47:43 PDT
http://www.charmm-gui.org/test.html When a form is submitted, javascript execution is stopped. I'm using a javascript to periodically update a textarea, and when I submit the form, this update is stopped. This page works okay with safari 2, firefox 2&3, ie 6&7. # test.html <script src="javascripts/prototype.js" type="text/javascript"></script> <script> function updateMonitorComplete(request) { //new Insertion.Top('monitor', request.responseText); $('monitor').value = request.responseText; } function updateMonitorCall() { new Ajax.Request('/monitor_test.php', { asynchronous:true, onComplete: updateMonitorComplete } ); } new PeriodicalExecuter(updateMonitorCall, 1); </script> <form action='monitor_test_form.php'> <textarea id='monitor' name='monitor'> </textarea> <input type=submit> </form> # monitor_form_test.php <? sleep(10); ?> # monitor_test.php <? echo time(); ?>
Attachments
Alexey Proskuryakov
Comment 1 2010-11-12 12:13:38 PST
*** This bug has been marked as a duplicate of bug 14828 ***
Note You need to log in before you can comment on or make changes to this bug.