Hi,
I am trying to submit one JSP into the other and while doing this i am getting "Error:Invalid Syntax" error in IE 5.5 and 6.0. But in earlier versions of IE i am not at all getting any error but the JSP is submitted into the other JSP with all null values of the passed variables.
Please note that it's not Syntax error but it's "Invalid Syntax" error......
The same thing when i try in Netscape it's working perfectly fine.
On click of the button i have written this code only:
function funSubmit(){
document.frm.action = "def.jsp";
document.frm.submit();
}
In the error message (in only IE 5.5 and 6.0) it shows the line number next to document.frm.submit() statement.....
Moreover if i try to give any alert anywhere above the submit statement it is executed while running the program and but if i define the function like this:
function funSubmit(){
document.frm.action = "def.jsp";
document.frm.submit();
alert("hi!!"
;
}
it's not showing the alert message while the same is shown in Netscape where it's working perfectly fine.
Can anybody help me in this regard???
I am trying to submit one JSP into the other and while doing this i am getting "Error:Invalid Syntax" error in IE 5.5 and 6.0. But in earlier versions of IE i am not at all getting any error but the JSP is submitted into the other JSP with all null values of the passed variables.
Please note that it's not Syntax error but it's "Invalid Syntax" error......
The same thing when i try in Netscape it's working perfectly fine.
On click of the button i have written this code only:
function funSubmit(){
document.frm.action = "def.jsp";
document.frm.submit();
}
In the error message (in only IE 5.5 and 6.0) it shows the line number next to document.frm.submit() statement.....
Moreover if i try to give any alert anywhere above the submit statement it is executed while running the program and but if i define the function like this:
function funSubmit(){
document.frm.action = "def.jsp";
document.frm.submit();
alert("hi!!"
}
it's not showing the alert message while the same is shown in Netscape where it's working perfectly fine.
Can anybody help me in this regard???