POP UP WINDOW

POP UP WINDOW

Dear Sir, Can you please help in providing the methos for opening up a pop up window just after selecting an option from a drop down.I have three options in dropdown.If i select the option 'Replacement',then a pop up window should open with name,designation and roll number.Please help me Regards Debasis

View Answers

October 25, 2010 at 5:53 PM

Hi Friend,

You can try the following code:

1)selectOption.jsp:

<html>
<script>
function check(){
var op = document.getElementById("sel");
var sel = op.options[op.selectedIndex].value;
if(sel=="Replacement"){
    window.open('http://localhost:8080/examples/modified/replace.jsp','mywindow','width=500, height=350,toolbar=no,resizable=yes,menubar=yes');
}
}
</script>
<form name="form">
<select id="sel" name="sel" onchange="check();">
<option value="Add">Add</option>
<option value="Delete">Delete</option>
<option value="Replacement">Replacement</option>
</select>
</form>

2)replace.jsp:

<html>
<table>
<tr><td>Roll No</td><td><input type="text" name="roll"></td></tr>
<tr><td>Name</td><td><input type="text" name="name"></td></tr>
<tr><td>Desination</td><td><input type="text" name="designation"></td></tr>
<tr><td><input type="submit" value="submit"></td></tr>
</table>
</html>









Related Tutorials/Questions & Answers:
pop up window in java
pop up window in java  How to open a pop up window in Java
Pop Up window - WebSevices
Pop Up window  How refresh pop up window,Tell me correct code for this problem.  Hi friend, I am sending a link. This link will help you. Visit for more information. http://www.roseindia.net/jsp/popup-window
Advertisements
POP UP WINDOW
POP UP WINDOW  Dear Sir, Can you please help in providing the methos for opening up a pop up window just after selecting an option from a drop...',then a pop up window should open with name,designation and roll number.Please help me
Pop-up Window
Pop-up Window  Hi......... please tell me How do I pass parameters to a pop-up window? Thanks  For example: code for pop-up window: <?xml version="1.0"?> <s:TitleWindow xmlns:fx="http
pop up
pop up  how to create pop up in html
get data in pop up window droplists and on selecting data in the same show a grid table with related datas
get data in pop up window droplists and on selecting data in the same show... a pop up window appears with two drop down lists and a button. One of the drop... pop up menu with a select button in each row.when I click any one select button
creating pop up menu
creating pop up menu   how to create a pop up menu when a link in html page is clicked using jquery? and the link should be a text file   Please visit the following links: http://www.roseindia.net/tutorial/jquery
pop up message in java
pop up message in java  hii..i have developed an application in which a login and registration form is there.when the registration is done the user gets system generated password and after 15 days the person should get
JavaScript Pop Up Boxes
JavaScript Pop Up Boxes JavaScript has three kind of pop-up boxes,  i)    Alert-Box: If some surety is required from the user or an alert message is to generate then we can use alert box, user has to click ok
Pop up Very Very Urgent - JSP-Servlet
the code.. Here When I click "View Database" Button,a small pop up window must...Pop up Very Very Urgent  Respected Sir/Madam, I am... in the database. When I click Employee ID present in the pop up box, The "Enter Employee ID
How to Creating Pop Up Menu in PHP?
How to Creating Pop Up Menu in PHP?  Hi, I am a beginner in the PHP Application. Can somebody give an example of how to creating pop up Menu in PHP. Please feel free to suggestion........ Thanks
How to Create Pop Up Boxes in JavaScript
How to Create Pop Up Boxes in JavaScript  Hi, I am beginners in Programming language and How can i create a pop up box in JavaScript. That will ask..., confirm, prompt pop up boxes found in JavaScript. You are asking how to create
passing text value from pop up to parent page
passing text value from pop up to parent page  i want to pass value of a textbox of one pop up window to its parent page(html). that parent page contain a table. And i want to pass that text value to one cell in table of parent
Adding pop up menu on headlines.
Adding pop up menu on Headlines Here you will learn sticking a pop up menu... on to pop up menu, it opens the list of the menu automatically. For generating the pop-up menu, you will have to code a scripting language, JavaScript
How can we implement Pop-up in JQuery without Plugin?
How can we implement Pop-up in JQuery without Plugin?  Hi Sir How can we Implement pop-up in JQuery without using plug-in. Please provide me code... for pop-up box. The code is given below : <style type="text/css">
Display Data from database in Popup Window Using Ajax in JSP
, we have developed a application to display data  in pop up window. We..., resulting open a new pop up window "windowopen.jsp" and display... on the "Select" button on page 'windowopen.jsp' the pop up window
Pop up on hover using jQuery plug in
Pop up on hover using jQuery plug in In this tutorial, we will learn how to set the pop up for display , when mouse hover on any unordered list.../TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Pop UP
Window
Window  how to create an window of a person like regestration form
PHP Array Pop
PHP Array Pop() function In PHP array_pop() function pop the last element of an array. General Format mixed array_pop(array... Returns the last value of the array The PHP array_pop
Passing values from child window to parent window.
Passing values from child window to parent window.  Hai, I'm having a requirement ,in that when i open a (pop-up)child window from a parent window,the child window will contain multiple checkboxes and when i select multiple
Pop-up Menus
Pop-up Menus       A PopupMenu is similar to a Menu as it contains MenuItem objects. The Pop... the menu. The example below shows the triggering of a pop-up menu and its activation
array_pop javascript
array_pop javascript  array_pop JavaScript and in PHP
Chat window
the chat window pops up.. It is a div in the chat homepage.. There are few other... in the same application. I want to know how to retain the chat window (along..., the chat window should be constant across all pages in the application for current
array_pop php
array_pop php  What is the array_pop function in PHP and what is the use of it? Thanks
ModuleNotFoundError: No module named 'pop'
ModuleNotFoundError: No module named 'pop'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'pop' How to remove the ModuleNotFoundError: No module named 'pop' error
ModuleNotFoundError: No module named 'pop'
ModuleNotFoundError: No module named 'pop'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'pop' How to remove the ModuleNotFoundError: No module named 'pop' error
Explain push and pop
Explain push and pop   hii, Define push and pop?   hello,ADS_TO_REPLACE_1 The insertion operation is referred to as push and the deletion operation is referred to as pop
PHP Array Pop
last element of the array is popped by the PHP array_pop() function. array_pop() function in PHP makes the given array with one element lesser It pops up (deletes) the last element  and return it. PHP Array POP Example
window in center
window in center  if i run the programme thw window is in lie in top left corner i want a window open in center
Push and Pop UINavigationController
Push and Pop UINavigationController  push and pop UINavigationController example   Pushing and Popping Stack Items *? pushViewController:animated: ? popViewControllerAnimated
what is the difference between pop and oop
what is the difference between pop and oop  what is the difference between pop and oop
Window Blind
Window Blind  Custom built . Over 30 years of shutter experience. Free in-home consultations
ModuleNotFoundError: No module named 'pip-pop'
ModuleNotFoundError: No module named 'pip-pop'  Hi, My Python...-pop' How to remove the ModuleNotFoundError: No module named 'pip-pop... to install padas library. You can install pip-pop python with following command
ModuleNotFoundError: No module named 'pop-build'
ModuleNotFoundError: No module named 'pop-build'  Hi, My Python... 'pop-build' How to remove the ModuleNotFoundError: No module named 'pop... have to install padas library. You can install pop-build python with following
ModuleNotFoundError: No module named 'Pop-Con'
ModuleNotFoundError: No module named 'Pop-Con'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'Pop-Con' How to remove the ModuleNotFoundError: No module named 'Pop-Con
ModuleNotFoundError: No module named 'pop-config'
ModuleNotFoundError: No module named 'pop-config'  Hi, My Python... 'pop-config' How to remove the ModuleNotFoundError: No module named 'pop... have to install padas library. You can install pop-config python
ModuleNotFoundError: No module named 'pop-build'
ModuleNotFoundError: No module named 'pop-build'  Hi, My Python... 'pop-build' How to remove the ModuleNotFoundError: No module named 'pop... have to install padas library. You can install pop-build python with following
ModuleNotFoundError: No module named 'Pop-Con'
ModuleNotFoundError: No module named 'Pop-Con'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'Pop-Con' How to remove the ModuleNotFoundError: No module named 'Pop-Con
ModuleNotFoundError: No module named 'pop-config'
ModuleNotFoundError: No module named 'pop-config'  Hi, My Python... 'pop-config' How to remove the ModuleNotFoundError: No module named 'pop... have to install padas library. You can install pop-config python
ModuleNotFoundError: No module named 'pop-projection'
ModuleNotFoundError: No module named 'pop-projection'  Hi, My... named 'pop-projection' How to remove the ModuleNotFoundError: No module named 'pop-projection' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'pop-release'
ModuleNotFoundError: No module named 'pop-release'  Hi, My Python... 'pop-release' How to remove the ModuleNotFoundError: No module named 'pop-release' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'pop-tools'
ModuleNotFoundError: No module named 'pop-tools'  Hi, My Python... 'pop-tools' How to remove the ModuleNotFoundError: No module named 'pop... have to install padas library. You can install pop-tools python with following
ModuleNotFoundError: No module named 'pop-utils'
ModuleNotFoundError: No module named 'pop-utils'  Hi, My Python... 'pop-utils' How to remove the ModuleNotFoundError: No module named 'pop... have to install padas library. You can install pop-utils python with following
Multi window
contains all the details. when i submit this page, a new window opens and asks to enter password. if password entered is correct, the flow goes to previous window
window closing
window closing  hello, In my project i have login,logout and some jsp pages are there and each jsp page is using javascript and onunload script. and i need one solution that,when ever user trying to close browser window
TitleWindow in Flex4
by used pop-up window. The TitleWindow container have a content area for own... the application window then use TitleWindow. If user want to create a TitleWindow... information then click on this button and a title window are generate by the system
Window Script
Window Script  i want to write windows script can you help me in writing those i want to write script so that it follows below steps Step 1) downloading file from FTP 2) Unzip it 3) Edit it 4) zip it 5) upload again to FTP
Creating Modal Window in Flex
the pop-up window included in their application. For this reason Flex provides...;Click button to show Pop-Up window"    ... Creating Modal Window in Flex      
active window means
active window means  active window means what?   The active window is the term used to describe the window that is currently being used
how can create pop() method in this program ,Or how can delete image in it when i press pop button in runtime ??? please help me ...
createAndShowGUI() { //Create and set up the window. frame = new JFrame("My Album...how can create pop() method in this program ,Or how can delete image in it when i press pop button in runtime ??? please help me ...   

Ads