yeah sure there is. look(on google) for JSObject which is a netscape.javascript package part and u'd find it in java40.jar file... u've to just get a window object in the applet code that will refer to the page that has the applet and then u can invoke methods written in that page's javascript and that way u can pass the code... e.g. if u'd the object jsObject in ur applet and u want to invoke javascript method x() in the applet's html page then u've to do, JSObject window = JSObject.getWindow( this ); window.call("x",new Object[]{"arg1", "arg2"}); probably u'd find getMemeber() and all other functions reference in examples u'd find but i found it not working appropriately instead this getting window object and just call a method worked better for me... regards maulin