dcsimg
Java script in struts based portal application
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Biju_Nair
Posted On:   Wednesday, August 11, 2004 11:57 PM

Hi,
when i am using java script with the strutsportal jsp i am getting error.
as "document.form.method is not an object"
how can i solve the problem?
I am using websphere studio for development
Biju

Re: Java script in struts based portal application

Posted By:   rahul_deshmukh  
Posted On:   Thursday, August 12, 2004 07:27 AM

Its possibly because of some form conflicts in your html page.As it is a portal application its possible that your page will be adding some more forms through different pages included in your main page. Try using

document.forms[0].method , if it didn't work try using forms[1] & so on , i am sure you will get some point where it will refer to a form for which you are looking for
About | Sitemap | Contact