Hey Everyone,
I'm new to Tek-Tips, so please bear with me.
I'm trying to create a website for my work while teaching myself how to do this. I have gotten almost everything done, but I'm having troubles with my JavaScript. I am using a JavaScript function as a way to validate a password received from a form. I've been told this isn't the best way to do it, because it can be viewed by everyone, but we are just tryin to divert people who don't need to go to that part of the site as opposed to keeping it completely secure. There isn't any "important" information, its just internal use.
Anyways, I tried setting the javascript to a .js file, and it only works in IE. Then I tried setting it up within the <head> section of the document, and it still only works in IE. A lot of the people that would use it use primarily FireFox.
Does anyone know how to fix this? Any help would be great.
Thanks
I'm new to Tek-Tips, so please bear with me.
I'm trying to create a website for my work while teaching myself how to do this. I have gotten almost everything done, but I'm having troubles with my JavaScript. I am using a JavaScript function as a way to validate a password received from a form. I've been told this isn't the best way to do it, because it can be viewed by everyone, but we are just tryin to divert people who don't need to go to that part of the site as opposed to keeping it completely secure. There isn't any "important" information, its just internal use.
Anyways, I tried setting the javascript to a .js file, and it only works in IE. Then I tried setting it up within the <head> section of the document, and it still only works in IE. A lot of the people that would use it use primarily FireFox.
Does anyone know how to fix this? Any help would be great.
Thanks