erikkl2000
Joined: 16 Dec 2005 Posts: 3
|
Posted: Thu Jan 11, 2007 7:56 pm Post subject: Script works well in ie but not Mozilla |
|
|
The script below i am using to make sure that the user is signed in because the some of the membership propers i need when the user submits that webForm..
This works just like i need it to in ie;;; but does NOT work in Mozilla
What to do?
Thanks
Erik
<script language="javascript" type="text/javascript" for="document" event="onkeydown">
<!--
return document_onkeydown()
// -->
</script>
<script type="text/javascript" language="javascript">
function isLoggedIn()
{
var loginName= document.getElementById('ctl00_curentLoginName')
if(loginName==null)alert('Please Sign In or Create An Account');
}
//Make sure the user is
//logged in before submitting a project
function document_onkeydown() {
isLoggedIn();
}
</script> |
|