Re: javascript form submission opens a new tab instead of current tab

Hi,

I have been facing problem in safari after installation of version 5.1.4. Please find the description below what i have been trying to do


1. On the page an ajax call is made and the controller returns a response.

2. In the response I will be having a script tag and under the tag i will be having the function submitForm();

3. To execute it after making the ajax call I'll be parsing the script tag in the resposne and trying to execute it using eval();

4. And this thing working fine in all browsers and also in safari till I used the version 5.1.2.

5. But when I installed the version 5.1.4 when the submitForm() is called safari is opening a new tab which wasn't epected to happen, and the same is happening with safari-5.1.5.

I have been stuck up, Please help me out in resolving the issue.


Kind Regards,

Srikanth

Safari-OTHER, Windows 7

Posted on Apr 4, 2012 10:48 PM

Reply
1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Re: javascript form submission opens a new tab instead of current tab

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.