aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes JavaScript  Compatibility with Mozilla Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "JavaScript  Compatibility with Mozilla" Watch "JavaScript  Compatibility with Mozilla" New topic
Author

JavaScript Compatibility with Mozilla

Harish dp
Greenhorn

Joined: Aug 23, 2007
Posts: 3
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

Joined: Jan 10, 2002
Posts: 60050
    
  65

"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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60050
    
  65

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

Joined: Nov 08, 2001
Posts: 15376
    
    6
Do you have a name on your form tag?

Eric
 
Consider Paul's rocket mass heater.
 
subject: JavaScript Compatibility with Mozilla
 
Similar Threads
how to navigate JSf form using value from h:selectOneRadio
Problem returning array from javascript function
xmlObject
passing array from java to javascript in IE
Javascript access to a Java object