Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IE4 works but IE5 does not
Message
From
13/08/1999 05:43:25
Imran Ahmad
Trisoft (Pvt.) Ltd
Lahore, Pakistan
 
 
To
09/08/1999 13:48:00
General information
Forum:
Internet
Category:
VBScript
Miscellaneous
Thread ID:
00251624
Message ID:
00253331
Views:
11
Hi,

If i have not understood ur question then please forgive me. the other way that will work in both browsers is to use javascript here is a simple example that demonstrate it. Please do not hesitate to ask any questions regarding it.

Thanks
Imran Ahmad

Here is the example


script language = "javascript">
function Validate(TheForm)
{
if (confirm("Do you confirm"))
{
alert("confirmed");
TheForm.MyTextBox.value = "New Value"; // set the value of the text box
return (true); // allow the form to submit
}
else
{
alert("Not confirmed");
return (false); // Do not Allow the form to subnmit
}



}



/script>


form action = "index.htm" method = "post" onsubmit= "return Validate(this)">
input type = "text" name = "MyTextBox">

input type = submit>
form>
Previous
Reply
Map
View

Click here to load this message in the networking platform