Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


Script works well in ie but not Mozilla



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> JavaScript Forum
View previous topic :: View next topic  
Author Message
erikkl2000



Joined: 16 Dec 2005
Posts: 3

PostPosted: Thu Jan 11, 2007 7:56 pm    Post subject: Script works well in ie but not Mozilla Reply with quote

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>
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> JavaScript Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap