Hi,
There is one way to check whether the parent window is open or not, if u have opened the child window using window.open();
In child window if u want to refer the parent window use...
Type: Posts; User: starter
Hi,
There is one way to check whether the parent window is open or not, if u have opened the child window using window.open();
In child window if u want to refer the parent window use...
Hi,
This is something common in javascript but I dont have an answer for this behaviour of javascript. We can overcome this problem as follows.
instead of adding x=y.value+z.value
do as...
Hi ej,
Why not make use of global array and get it done.
I have done a small code for u and hope this should do
<html>
<head>
<script>
g_win2 = new Array();
function f1()
{...
Hi adog,
Ur note say's "without using global variable", where as ur example is using the global variable.
Assuming it is not a global variable, Is it possible to use this across the functions?
As...
Hi ej,
I hope this code should do for u.
thanks
starter
<html>
<head>
<script>
var g_win2="";
Hi,
Dude and Areilla, It worked well and to use the window handler across two function, I made use of global variable.
thanks
starter
Hi,
I have two buttons on a parent window, On clicking the first button I should open a child window(this part is done). On clicking the second button I need an alert box which say's whether the...
Hi guy's,
Thanks a lot. Im taking the number of digits of the precision and doing the math.
thanks
starter
Hi,
I want to accept two numbers as input and display the product of these two numbers in an alert box. I have written a small code for this and works but not for all numbers....
Hi,
Thanks for ur solution Adog but I would be very happy to know whether it is possible to do the job with javascript prompt or not.
thanks
starter
Hi,
This may look weird but I'm completely new to javascript and just resolved the same problem for my project. All u have to do is call ur function as below.
onClick="return DispMessage();"
Dont...
Hi,
Is it possible to hide the value that is being typed in javascript prompt say similar to password effect. I knew this could be overcome by creating our own prompts using new window but would be...
Hi,
We r using WAS with pl/sql cartridge to generate web pages, our project has almost reached it's final stages and now they have come out with an additional requirement. Which is proving to be a...
Very sorry if this happens to be a very basic question, Im a fresher to javascript. please help me out.
Whenever I make use of prompt, I get "JavaScript Prompt:" in the prompt window (atleast in...