Bug 19444

Summary: form submit stops javascript execution
Product: WebKit Reporter: Sunhwan Jo <sunhwanj>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
URL: http://www.charmm-gui.org/test.html

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.