Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Thelma Murray   on Mar 30 In Java Category.

  
Question Answered By: Angel Harris   on Mar 30

Put the following in the head section of the web page (after the <head> and
before the </head> tag

<script language = "javascript">

/*
*/

function validate(text1,text2,text3,text4)
{
if ((text1="1111")
&& (text2=="1111")
&& (text3=="dummy")
&& (text4 =="dummy"))
load('Latrobe.mdb');
else
{
load('failure.htm');
}
}
function load(url)
{
location.href=url;
}
</script>

The form portion goes into the body section of the web page.
between <body>
and
</body>

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Script Help Or get search suggestion and latest updates.


Tagged: