My javascript knowledge is not very sound. I have the following javascript in the
jsp page and I don't want it to be in jasp, rather I have tried to move the js related code to .js file and tried to include it in the jsp.
But it's not working. any suggestion on how to do this?
And also what is the best practice to follow to avoid the javascript compatability problem with browsers?