Click to See Complete Forum and Search --> : Half my JavaScript Missing


jbrewer
09-18-2003, 09:09 AM
I've got my JavaScript split between two include files (*.js files) because I reuse one of the files for server-side validation (code reuse...GOOD). In IE it of course works find, but in the Netscape 4.7, 6.2 & 7 browser only one of the files is loading. I'm including them like this:

<script language="javascript" src="my_validation.js"></script>
<script language="javascript" src="my_edit_javascripts.js"></script>

Am I including them improperly. Am I only allowed one include?

Khalid Ali
09-18-2003, 09:17 AM
yes there is nothing too bad..just change this attribute

language="javascript"

to

type="text/javascript"

I have a feeling thatin splitting your JS you screwed up some code..:-)

post link to the pages