Results 1 to 2 of 2

Thread: Open result from a form in a popup

  1. #1
    Join Date
    Aug 2012

    Open result from a form in a popup


    If i create a form with some select

    HTML Code:
    <form action="" method="post">
    <select name="Test">
    <option value=http://1.html>Option1</option>
    <option value=http://2.html>Option2</option>
    <input type="submit" value="Ok" />
    How can i open the value link in a pop up when i validate my form ?

    Thanks in advance for your help

  2. #2
    Join Date
    Aug 2012
    I did the following with no success

    HTML Code:
    $TEST =htmlspecialchars($_POST['TEST']);
     function loadWin() {
     var newWin=open('http://www.mysitename.com/images/uploaders/<?php echo "$TEST"?>/Images/Galerie/index.php', 'win','width=600,height=600,left=250,top=250')
     // -->
    <BODY onload="loadWin()">
    It loads a popup with the following adress .../uploaders/</Images...

    On my test $TEST = 50

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Recent Articles