robcoles
08-13-2008, 04:19 AM
I have set up a javascript on http://www.translease.com.au
To Access the Calculator page when you click button a dialogue box opens and a password is required (the password is the same name as the html file.)
It works on IE6 and other browsers but not IE7?? WHY?
The password box is not coming up but going direct to a (null) page.
I am a novice so need help.
thankyou Rob
Here is the script:
<SCRIPT language="JavaScript"><!--
function check() {
// Prompt user for the password ...
pwd = prompt('Enter password before continuing','');
location.href = 'http://www.translease.com.au/calculate/' + escape(pwd) + '.html';
}
// -->
</SCRIPT>
Here is html:
<p><FORM class="pad" >
<INPUT class="login" type="Button" onClick="check()" value="Quick Calculator Login">
</FORM>
</p>
Here is URL:
http://www.translease.com.au/
To Access the Calculator page when you click button a dialogue box opens and a password is required (the password is the same name as the html file.)
It works on IE6 and other browsers but not IE7?? WHY?
The password box is not coming up but going direct to a (null) page.
I am a novice so need help.
thankyou Rob
Here is the script:
<SCRIPT language="JavaScript"><!--
function check() {
// Prompt user for the password ...
pwd = prompt('Enter password before continuing','');
location.href = 'http://www.translease.com.au/calculate/' + escape(pwd) + '.html';
}
// -->
</SCRIPT>
Here is html:
<p><FORM class="pad" >
<INPUT class="login" type="Button" onClick="check()" value="Quick Calculator Login">
</FORM>
</p>
Here is URL:
http://www.translease.com.au/