Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Location
    Brighton, UK
    Posts
    282
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question post to a pop up box ??

    this may be a DUM *** question but I am trying to post from a form (easy) but the page I am posting to I want to be in a pop up box ??

    ie

    method="POST" action="post.asp" in the form tag

    but how do I make this post to a pop up box ???? please help oh
    <marquee>thanks</marquee>

  • #2
    Regular Coder
    Join Date
    Jan 2003
    Posts
    867
    Thanks
    4
    Thanked 8 Times in 8 Posts
    Code:
    <form name="myform" onsubmit="window.open('', 'mypop')" target="mypop" action="buh.htm">
    <input type="text" name="textbox1"> 
    <input type="submit">
    </form>
    If you don't need control over the popup window you can set the target="_blank" and get rid of the onsubmit event. Then it will pop up in a new window.

  • #3
    Regular Coder
    Join Date
    Jul 2002
    Location
    Brighton, UK
    Posts
    282
    Thanks
    1
    Thanked 0 Times in 0 Posts

    thanks just.. how can I make it a certain size ???

    I am trying to make the pop up a certain size.... when popping up.. I have tried this.. thinking it would work..

    window.open ('',width=350, height=250,'mypop')

    how do conquor the pop up size world ????



    <marquee>thanks</marquee>

  • #4
    Regular Coder
    Join Date
    Jan 2003
    Posts
    867
    Thanks
    4
    Thanked 8 Times in 8 Posts
    I'm pretty sure that would be window.open('', 'mypop', 'height=250,width=350')

    Here's a decent popup tutorial
    http://hotwired.lycos.com/webmonkey/...tw=programming


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •