Sorry, but I don't know JavaScript very well and I don't
understand your remark.
My answer was : let the script tags where they are otherwise it won't work.
In my example the call to the function initTable(table0);
is done after the definition of the table table id=table0.
So the navigator know
Instead of hard coding the entire path, you should use the context path to
get your webapp directory and then specify the path from there.
If you had the following directory structure:
-tomcat
-webapps
-myWebapp
-js
-sortTable.js
You would specify the src attribute like this: src=%=
2 matches
Mail list logo