It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming JavaScript Forum

Script works well in ie but not Mozilla

Script works well in ie but not Mozilla

Postby erikkl2000 on Thu Jan 11, 2007 6:56 pm

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>
erikkl2000
 
Posts: 3
Joined: Fri Dec 16, 2005 6:08 am

Who is online

Users browsing this forum: No registered users and 4 guests