Search found 3 matches

by queirdo
Wed Aug 27, 2008 3:22 pm
Forum: Javascript
Topic: javascript not working when externally linked
Replies: 3
Views: 483

Re: javascript not working when externally linked - solved

I figured it out by testing each part of the code to see what made the file fail. It was one line of code that had a <?php ?> tag in it, which i didn't realize because i copied parts of the code from a tutorial and they used external links. it makes sense that the external file wouldn't know what to...
by queirdo
Wed Aug 27, 2008 3:03 pm
Forum: Javascript
Topic: javascript not working when externally linked
Replies: 3
Views: 483

Re: javascript not working when externally linked

Absolutely sure. I've tried it on both my dedicated server and also on my computer, where i can clearly see they are in the same folder. If I type in the url for the javascript file it comes up in the browser where it should be.
by queirdo
Wed Aug 27, 2008 10:45 am
Forum: Javascript
Topic: javascript not working when externally linked
Replies: 3
Views: 483

javascript not working when externally linked

I'm having a weird problem. I'm using some javascript functions to do client side encryption for a login form. Everything works perfectly when I have the javascript copied out between script tags in the header, but when I do an external link to the file with the exact same code, it doesn't work at a...