By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,317 Members | 1,313 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,317 IT Pros & Developers. It's quick & easy.

Pop Up Window not working

P: 14
Hello all,

iam working with a pop up window usinh;
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
Share this Question
Share on Google+
4 Replies

Expert Mod 15k+
P: 16,027
Can you post an example or a link?
Feb 2 '09 #2

P: 14
Expand|Select|Wrap|Line Numbers
  1. <td align="center"><?php echo "<a href=\"javascript:getDetails('$drg_id');\">[Details]</a>";?></td></tr>
  3. function getDetails(drgid)
  4. {
  5.     //alert(drgid);
  6.     var drg= encodeURIComponent (drgid);
  7. "PRQDetails.php?drug=drug&drgid="+drg, "myWindow", "location=0,status=1,height = 600, width = 800,scrollbars=0");
  8. }
Feb 2 '09 #3

Expert Mod 5K+
P: 8,639
and what is the problem?
Feb 2 '09 #4

Expert Mod 15k+
P: 16,027
Check that the ID that you pass is correct. When you try opening the page directly without using, 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.