Menu
Hi,
I have a JSP page which contains a javascript include file as follows:
<script type=”text/javascript” src=”../scripts/javascript.js”></script>
The javascript code in the JSP page calls a function located in the file javascript.js
It works fine in IE6 but in IE7 it returns an “object expected” error because it does not see the function.
When I moved the function to the JSP page, it works fine.
The problem is: this function is an utility function therefore it is used everywhere so I don’t want to repeat it in each single jsp page that uses it.
Is there a simple solution for that?
Thanks in advance!!