0 like 0 dislike
70 views
asked Jul 23, 2014 in Education & Reference by Simmi (510 points) | 70 views
    

2 Answers

0 like 0 dislike

You can use below example in html, php also

        <form action="abc.php" method="get" target="POPUPW"
    onsubmit="POPUPW = window.open('about:blank','POPUPW',
'width=600,height=400');">
        <input type="text" name="dst" id="dst" value="">
        <input type="submit" name="sub" value="Submit in Popup">
        </form>
answered Jul 23, 2014 by Sam (1,380 points)
0 like 0 dislike

you can use by javascript

<script type="text/javascript">
function pop(form) {

    var get=document.getElementById('dst1').value;
    window.open('admin.php?dst='+get, 'formpopup', 'width=400,height=800,resizeable,scrollbars');
    form.target = 'formpopup';
}
</script> 


 <form name="form" method="post">
            <input type="text" name="dst1" id="dst1" value="">
        <input type="submit" name="sub1" id="sub1" value="View" 
    onClick="pop(this);">
            </form>
answered Jul 23, 2014 by Yogi (180 points)

Related questions

2 like 0 dislike
1 answer
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
asked Apr 15, 2014 in Education & Reference by Yogi (180 points) | 64 views
1 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Aug 1, 2017 in Education & Reference by Krish (890 points) | 39 views
0 like 0 dislike
1 answer

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

Mathe Forum Schule und Studenten
1,164 questions
1,304 answers
275 comments
1,589 users