Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling java applet methods in IE5

Status
Not open for further replies.

bowmancp

Programmer
Jul 6, 2001
2
US
Hi,
I am having a problem calling java applet methods in IE5. The application I am working on uses an applet to create a URL. This is called by a button:

<INPUT TYPE=&quot;BUTTON&quot; VALUE=&quot;Select Editions&quot; NAME ONCLICK=&quot;SubmitClick();&quot;>

The applet is declared as :

<APPLET CODE=&quot;SearchDialogQT.class&quot; CODEBASE=&quot;../../../Java&quot; WIDTH=&quot;367&quot; HEIGHT=&quot;106&quot; NAME=&quot;javaSearchDialog&quot;>

The javascript function code is:

function SubmitClick() {
var sResultLink = &quot;Error&quot;;
sResultLink = self.document.javaSearchDialog.ExternSubmitAdvanceSearch(sSearchMode);
self.location = sResultLink;

return false
}

When I use this page in NS4 everything works fine. When I use it in IE5 the submit button does not appear to work. I think this may be a DOM problem. How do I correctly access this java method in IE5. I have tried document.all, and document.applet, followed by the applet name, but it doesnt work.

I am working on a Mac, so both browsers are Mac versions.

Any suggestions would be really helpful.

Thanx,

Chris


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top