How about:
1. Creating a hidden field with the value you want.
2. Adding this to your HTML file:
<SCRIPT LANGUAGE="JavaScript">
function message()
{
var redirect = document.forms.pgIPPSLogon.hdMessage.value;
alert(redirect);
return true;
}
</SCRIPT>
3. In the extra HTML for the button, put
onClick="return message();"
Brendan Johnston
TeamND
-----Original Message-----
From: Bola Taylor [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, June 29, 1999 9:24 AM
To: [EMAIL PROTECTED]
Subject: [ND] Displaying a page after clicking OK in a
javascript dialog
Hi all
I am trying to run a javascript that will obtain a message from my
java code and come up
with a confirmation dialog with the message displayed in the dialog.
Also when the OK button is clicked,
I desire that the next page should be displayed on the screen. How
do I go about doing this
I am a complete novice to javascript
Bola
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to:
http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]