aspose file tools*
The moose likes Struts and the fly likes Object doesn't support this property or method 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 » Frameworks » Struts
Bookmark "Object doesn Watch "Object doesn New topic
Author

Object doesn't support this property or method

Smita Ahuja
Greenhorn

Joined: Sep 23, 2013
Posts: 26
Hi,

I Developed a struts1.2 application , In one of the jsp function called on button(<input TYPE="button" name="action" value="Submit" ALT="BTN_SUBMIT" onclick='javascript:onSubmit("<bean:write name="dResult" property="completeFilePath"/>")'>) click I am calling below code :
function onSubmit(filename){
document.forms[0].action = "/CordellSearchProject/SubmitIt.do?filename=" + filename;
document.forms[0].name = "searchForm";
document.forms[0].setAttribute("method", "post");
document.forms[0].submit();
}
Its working fine in every browser(IE 9, Firefox,Chrome), but in IE 8 its throwing an error "Object doesn't support this property or method"

Please help, any kind of help would be appreciated.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8705
    
    6

Please do not post the same question more than once. It causes confusion and duplication of effort as the community tries to help everyone.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Object doesn't support this property or method
 
Similar Threads
object doesn't support this property or method
Help needed with IE 6.0 submit
How to link different buttons to different action methods
problem setting form Action name Dynamically on button click
Struts 1