Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaScript Compatibility with Mozilla

 
Harish dp
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi...


I have a javascript which is working well in Internet Explorer but the same is not working in Mozilla Firefox.

My script follows as follows

<script>
function getEmpApplication(skillId, status)
{

alert ("Hi");
document.employee_dashBoard.action="application.do?method=displayContents";
document.employee_dashBoard.skId.value = skillId;
var colIndex = Column();
document.employee_dashBoard.lvlId.value = colIndex - 1;
document.employee_dashBoard.status.value = status;
document.employee_dashBoard.submit();
}
</script>


Im getting the alert Message as "Hi" but after that it is not taking me into the next page
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64829
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Harish dp", you have previously been warned on one or more occasions regarding adjusting your display name to meet JavaRanch standards. This is not optional. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it prior to your next post.

Your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Be aware that accounts with invalid display names are disabled.

bear
JavaRanch Sheriff
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64829
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, please take the time to choose the correct forum for your posts. This forum is for questions on JSP.

For more information, please read this.

This post has been moved to a more appropriate forum.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have a name on your form tag?

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic