469,275 Members | 1,772 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,275 developers. It's quick & easy.

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 915
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,651 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 zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.