venugopal_sv Posted October 6, 2006 Share Posted October 6, 2006 Hi,I have seperate javascript(.js) file. My JavaScript has hundred's lines of code. I have used that javascript file in the jsp.When i run the jsp in IE JavaScript is working properly. My problem is... when i run the same jsp in FIREFOX 1.5.0.7 JavaScript is not working.Is javascript worked in FIREFOX?Thanks is Advance,venugopal_sv Link to comment Share on other sites More sharing options...
henke Posted October 6, 2006 Share Posted October 6, 2006 Hi,I have seperate javascript(.js) file. My JavaScript has hundred's lines of code. I have used that javascript file in the jsp.When i run the jsp in IE JavaScript is working properly. My problem is... when i run the same jsp in FIREFOX 1.5.0.7 JavaScript is not working.Is javascript worked in FIREFOX?Thanks is Advance,venugopal_svCould you be more specific in your description? What does javascript console message say in firefox? Javascript does not care about that you are using JSP on the serverside. The responce on the socket back is what matters for the browser. Link to comment Share on other sites More sharing options...
venugopal_sv Posted October 6, 2006 Author Share Posted October 6, 2006 Could you be more specific in your description? What does javascript console message say in firefox? Javascript does not care about that you are using JSP on the serverside. The responce on the socket back is what matters for the browser.In my JSP i am fetching the myJS.js file. myJS.js file is not working. <script language="JavaScript1.2" src="<%=request.getContextPath()%>/resources/Script/myJS.js" type='text/javascript'></SCRIPT> Link to comment Share on other sites More sharing options...
jesh Posted October 6, 2006 Share Posted October 6, 2006 In my JSP i am fetching the myJS.js file. myJS.js file is not working. <script language="JavaScript1.2" src="<%=request.getContextPath()%>/resources/Script/myJS.js" type='text/javascript'></SCRIPT>That's the server side code, what's the rendered html look like? Also, like Henrik_76 asked, if you click on Tools -> JavaScript Console in Firefox's menu, what kind of error messages are you getting? Link to comment Share on other sites More sharing options...
jhecht Posted October 9, 2006 Share Posted October 9, 2006 if ur asking if javascript works in FF, then the answer is yes. Firefox, if anything, is stricter about the ECMAScript standards than just about any browser. Link to comment Share on other sites More sharing options...
autasebo Posted October 12, 2006 Share Posted October 12, 2006 Is Javascript enabled in your browser? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now