Hello everybody,
I have a popup window that it is being opened by a parent one. My popup is supposed to be refreshed if the user changes something on it. That is, if he presses a button, different data is supposed to be displayed within the same popup.
Now, my problem is that when I press a button a new window is opened by the popup, and I don’t want that, I need the popup just to refresh itself.
The following is the code that I have:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script LANGUAGE="JavaScript" type="text/javascript">
function submitForm()
{
document.domainSelection.submit();
}
</script>
<title>test popup</title>
</head>
<body>
<form action="#" method="post" name="domainSelection">
<div align="center">
<A style="text-decoration:none" href="javascript:submitForm()">
<font color="##000000" face="arial" size="2">
<b>link</b>
</font>
</a>
</div>
</form>
</body>
</html>
If any of you know what the problem is, please let me know. I’ll appreciate it!
Thanks,
Dr. Stern
I have a popup window that it is being opened by a parent one. My popup is supposed to be refreshed if the user changes something on it. That is, if he presses a button, different data is supposed to be displayed within the same popup.
Now, my problem is that when I press a button a new window is opened by the popup, and I don’t want that, I need the popup just to refresh itself.
The following is the code that I have:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script LANGUAGE="JavaScript" type="text/javascript">
function submitForm()
{
document.domainSelection.submit();
}
</script>
<title>test popup</title>
</head>
<body>
<form action="#" method="post" name="domainSelection">
<div align="center">
<A style="text-decoration:none" href="javascript:submitForm()">
<font color="##000000" face="arial" size="2">
<b>link</b>
</font>
</a>
</div>
</form>
</body>
</html>
If any of you know what the problem is, please let me know. I’ll appreciate it!
Thanks,
Dr. Stern