471,887 Members | 778 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,887 software developers and data experts.

Pop Up Window not working

Hello all,

iam working with a pop up window usinh window.open();
Correctly working in most cases.But when clicked on cetain <a href>
showing Internet Explorer Cannot display page.
Can anyone help me?

thanks in advance
Feb 2 '09 #1
4 940
acoder
16,027 Expert Mod 8TB
Can you post an example or a link?
Feb 2 '09 #2
Expand|Select|Wrap|Line Numbers
  1. <td align="center"><?php echo "<a href=\"javascript:getDetails('$drg_id');\">[Details]</a>";?></td></tr>
  2.  
  3. function getDetails(drgid)
  4. {
  5.     //alert(drgid);
  6.     var drg= encodeURIComponent (drgid);
  7.     window.open( "PRQDetails.php?drug=drug&drgid="+drg, "myWindow", "location=0,status=1,height = 600, width = 800,scrollbars=0");
  8. }
Feb 2 '09 #3
Dormilich
8,658 Expert Mod 8TB
and what is the problem?
Feb 2 '09 #4
acoder
16,027 Expert Mod 8TB
Check that the ID that you pass is correct. When you try opening the page directly without using window.open(), does it open fine?

PS. threads merged. Please keep all posts relating to the same problem in one thread. Thanks!
Feb 2 '09 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Michael | last post: by
2 posts views Thread by carlor | last post: by
8 posts views Thread by Luke Matuszewski | last post: by
reply views Thread by annagel | last post: by
5 posts views Thread by lindanr | last post: by
4 posts views Thread by alexandre.brisebois | last post: by
reply views Thread by YellowAndGreen | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.