<script src="IPMS%20Library_files/frameset.js" > type="text/javascript"> > </script>
and <script type="text/javascript"> > changing type to text/javascript - this is why nothing occurs removing the language attribute. its not required if you testing locally on a windows machine then paths with \ can work but moving them to a server they need to be /. Testing locally ie will give you some restictions and security warnings will appear. also if you test locally you can have your project in a folder and use / with relative paths fro there. Removing spaces from files and directories is a headache saver - S 2009/4/3 michael.marri...@ausawd.com <michael.marri...@ausawd.com> > > How can I refer to multiple sources of javascript in my HTML. > For example if in my HTML I already have a line such as : > > <script language="JavaScript" src="IPMS%20Library_files/frameset.js" > type="text/jscript"> > </script> > > Then I want to put in > > <script language="JavaScript" src="H:\IPMS\Library Project > \jquery-1.3.2.min.js" type="text/jscript"> > </script> > > I have tried to change the type to be say type = "text\Myjscript" > and then the following; > > <script language="JavaScript" type="text/Myjscript"> > > $(document).ready(function(){ > $("a").click(function(event){ > alert("Thanks for visiting!"); > event.preventDefault(); > }); > }) > > <\script > > But when I click on a link in my page I don't get the message "Thanks > for visiting". >