Jump to content

Javascript Form submission :Popup blocker blocks new tab


chanchelkumar

Recommended Posts

Hi everyone...

 

am trying to submit a form using javascript and i need that action page to be opened in a new tab... but the popup blocker is blocking me ...

 

anyone please help me..  Please cehck the code am attached to check....

 

<form name="go_chk" id="go_chk" action="../newPage.php"  method="post">
<table cellpadding="0" cellspacing="0" align="center">
<tr>
	<td>
			<input type="hidden" name="user_idf" id="user_idf" value="2" />

	</td>
</tr>
</table>
</form>


<script type="text/javascript" language="javascript">
document.go_chk.target="_blank";
document.go_chk.submit();
</script>

Are you positive? Overlays give the impression of a new window without actually being one. For this reason they are not blocked by pop-up blockers.

 

Otherwise, your just going to have to live with the pop-up blockers I'm afraid. People have them on for a reason, they don't want pop-ups.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.