|
| ||||||||||
| Tags: java, parameters, pass, popup |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Pass Parameters To A Popup in Java
|
|
#2
| ||||
| ||||
| Re: Pass Parameters To A Popup in Java
Hello, If you make use of the javascript code below then you will able to get the solution for your problem: Code: window.open('my url','test')
this.form.target="test";
this.form.submit; |
|
#3
| ||||
| ||||
| Re: Pass Parameters To A Popup in Java
It is quiet simple to pass parameters to a popup window in java. You just need to create a function below and then you can simply solve your problem: Code: popupction popup()
{
var pwindow = window.open(alldata);
pwindow.creator = self;
} |
|
#4
| ||||
| ||||
| Re: Pass Parameters To A Popup in Java
Hello, I think you need to make use of the code as per your requirement. I have given the code below, you need to use it as per your program: If you want the reference to the parent window then you can use the code below: Code: window.opener Code: window.opener.document.forms["<%= str%>"] Code: window.opener.document.forms["<%= str%>"].elements["<%= control %>"] |
|
#5
| ||||
| ||||
| Re: Pass Parameters To A Popup in Java
Hello, you just need to add the javascript code below in your program for passing a parameter to a popup in java. Code: <asp:Button ID="b1" runat="server" Style="position: static" OnClientClick="popup()"
Text="Execute"/>
<script type="text/javascript">
function popup()
{
window.open("Test.aspx",'window','width=200,height=200,background=white,menubar=no, resizable=no')
}
</script> |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Pass Parameters To A Popup in Java" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to pass parameters to a workflow | B-JOB Guru | Windows Software | 3 | 25-02-2011 06:13 AM |
| Passing optional parameters in java | Miles Runner | Software Development | 5 | 05-03-2010 09:20 AM |
| How to Pass Parameters to Functions | super soaker | Software Development | 3 | 31-12-2009 11:16 AM |
| How to Pass Parameters via URL | Paramartha | Software Development | 4 | 23-09-2009 06:13 AM |
| What is difference between pass by value & pass by reference in java? | Baran | Software Development | 4 | 25-02-2009 06:15 PM |