just to update- I am using jquery 1.3.2 , jquery-ui 1.7.2 and java 1.6 with firefox 3.5.5 (firebug 1.4.5)
Krishna On Thu, Nov 12, 2009 at 6:27 PM, km <srikrishnamo...@gmail.com> wrote: > Hi All, > > I am embedding a java applet into one of the div elements in a page. > > <div id="appletHere"></div> > and jquery function is > $(document).ready(function(){ > $('#appletHere').append(' > <script type="text/javascript"> > > jmolApplet("load somefile.pdb"); > </script> > '); > }); > > The applet loads fine but it is not getting embedded into the div element > as required- instead , > the applet loaded page has only html > body > object elements (with > applet). > (the div element is gone and other styling is gone) > > so how do i make sure that the applet loads in the specified div element > without messing up with the page styling ? > > thanks in advance. > regards, > Krishna >