Hello there,
I am using an onchange event to trigger my javascript code, this code them refreshes the page to change form field options depending upon what the value of another selected field is. This works fine in IE but just wont work at all in Firefox . I have done some testing and things tried so far don't seem to help. If anyone could let me know how I get this to work on all browsers that would be so so great... My code is :
Javascript code :
function boxChange()
{
url = "timesheets.asp?add=yes&cid=" + timesheetForm.companyID.value + "&mid=" + timesheetForm.managerID.value + "&we=" + timesheetForm.tWE.value;
location.href=url;
}
Event trigger on the form :
<select name="companyID" id="companyID" onChange="boxChange()">
Any help would be so much appreciated.
Thank you
Gia
I am using an onchange event to trigger my javascript code, this code them refreshes the page to change form field options depending upon what the value of another selected field is. This works fine in IE but just wont work at all in Firefox . I have done some testing and things tried so far don't seem to help. If anyone could let me know how I get this to work on all browsers that would be so so great... My code is :
Javascript code :
function boxChange()
{
url = "timesheets.asp?add=yes&cid=" + timesheetForm.companyID.value + "&mid=" + timesheetForm.managerID.value + "&we=" + timesheetForm.tWE.value;
location.href=url;
}
Event trigger on the form :
<select name="companyID" id="companyID" onChange="boxChange()">
Any help would be so much appreciated.
Thank you
Gia