August 14th, 2003, 02:54 AM
Hi i have created a few js files and saved them according to their category name.
Now on loading a HTML page i want to load the js file according to the category of the product....
how do i do this?
I've tried this code but it does not work
This script is no good...dnt know how to do this...
anyone plz help
August 14th, 2003, 08:10 AM
When you say "I've tried this code but it does not work"
Are you getting an error?
What do you see when you make a VIEW/SOURCE in your browser?
Also, make sure you use the Trim() function over your
This way your sure you won't end up having something like:
filename .js <--notice the space before the .js
these are just thoughts
Hope this helps!