Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

<EMBED> in Netscape for Applet

 
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
hi
i'm using NN6 and i have an EMBED tag for the Applet (as it requires plug-in). now, i want to invoke a method on that applet from javascript.
i tried to put ID in Embed as well as name in Embed (one by one) but none of them worked.
say,if i have <embed name="myapplet" ...> and in javascript i'm using alert(document.myapplet) then it identifies that as [object HTMLEmbedObject] but i can't invoke method on the applet...
any suggestions???
this is just the start of my troubles. i need to make it work on NN4.7 as well which doesn't support name tag well nor i can do getElementById() of DOM in NN4.7 Javascript...
plz help me..
regards
maulin.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
I have the same problem and it seams that Netscape does not support the applet's public methods calls from javascript in case that applet is embeded as Java Plugin object.
 
Ranch Hand
Posts: 4716
9
Scala Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
i use java 1 for applets so i can just use <applet> tag. however i had problems with my applet being unable to post to my servlet in netscape. no one could figure out why. IE has its faults but i sure prefer it over netscape
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
This thread is apparently the same problem as this other thread so I am closing this one, and recommend that further discussion happens over there.
Thanks.
[ September 25, 2002: Message edited by: Marilyn de Queiroz ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic