Jump to content

Archived

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

localhost

pop up window?

Recommended Posts

I wanna make a pop up window on this form, i want it to contain a php file. can someone tell me how to do this?

here is a snippet of my code:

[code]
<br>
  Security Number:
  <input type="text" name="ccsecure">
  <span class="style4">What is this?</span><Br>
Card Type:
<select name="cctype">
<option>Visa</option>
<option>Mastercard</option>
<option>Discover</option>
<option>American Express</option>
</select>
[/code]

I want the "What is this?" to link to open a small javascript window that contains sc.php.

Thanks!

Share this post


Link to post
Share on other sites
you can do something like this
[code]
<a href="#" onclick="window.open('sc.php'); return false;">What is this?</a>
[/code]

Share this post


Link to post
Share on other sites
i was having the same dilemma but the code above has helpred,i would now like to know the code to generate a pop up window with the address bar inactive.

Share this post


Link to post
Share on other sites
check this page for full details on opening a window

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/open_0.asp

Share this post


Link to post
Share on other sites

×

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.