File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Java Script not working in firefox but working in IE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Java Script not working in firefox but working in IE" Watch "Java Script not working in firefox but working in IE" New topic

Java Script not working in firefox but working in IE

Dona Sujith

Joined: Jan 24, 2008
Posts: 1
when i click this link in IE a popup comes and we can select an option .
so itz value is displayed in text box.
but in firefox that value is not displayed....

<a href="javascript:doSubmit(<bean:write name="applicationEnvironment" property="environmentGroupInfo.groupId"/>, '<bean:write name="applicationEnvironment" property="environmentGroupInfo.description"/>', '<bean:write name="applicationEnvironment" property="appInfo.appName"/> : <bean:write name="applicationEnvironment" property="appInfo.version"/>, 
<bean:write name="applicationEnvironment" property=""/>
<logic:present name="applicationEnvironment" property="systemInfo.domain">
.<bean:write name="applicationEnvironment" property="systemInfo.domain"/>
<bean:write name="applicationEnvironment" property=""/>
<logic:present name="applicationEnvironment" property="appServerInfo.domain">
: <bean:write name="applicationEnvironment" property="appServerInfo.domain"/>
','<%= environmentGroupType%>')">
<bean:write name="applicationEnvironment" property="environmentGroupInfo.description"/></a>

[BSouther: Removed 'URGENT'] from subject line.
[ January 24, 2008: Message edited by: Ben Souther ]
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Welcome to JavaRanch!

In an effort to help you get the most from our forums, we've compiled a
list of tips for asking questions here. You can find the list in our
FAQ section

In particular please see:
EaseUp to find out how adding 'urgent' to your posts or subject line can slow down or halt responses to your question altogether.

Also, please see

Abbreviations such as "u" or "ur" in
place of "you" and "you are" or "you're" confound language translation software making
it hard for our non-English speaking members to read your posts.
'itz' is not a word in the English language.

Again, welcome to JavaRanch and good luck with your question.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Since your question is about Javascript, not JSP, I'm going to move this to our HTML/Javascript forum.

Once it gets there, I recommend that you post the results of your JSP's execution instead of the JSP code. You can get that with the "View -> View HTML Source" feature of your browser.
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
As Ben says, show us the generated code by using view source. Look at the server code really does not help us in this situation.

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
You should also check if an error gets displayed in the Firefox JavaScript Console. You'll find that under the "Tools --> Error Console" menu. If so, post it as well.
I agree. Here's the link:
subject: Java Script not working in firefox but working in IE
It's not a secret anymore!