Jsapi - getting applet id
Posted: Tue Feb 17, 2009 10:04 pm
It would be handy to get the applet id when the Jsapi Javascript methods are called. This feature can be easily added to Jsapi without breaking the existing code. JSMApplet needs to be altered so that the extra parameter is appended to the argument list being passed to notifyJS. The existing Javascript will still work, for example:
Or the method signature could be altered to pick up the new value:
Code: Select all
function JSTransferCompleted(filename) {
// do something useful
}
Code: Select all
function JSTransferCompleted(filename, name ) {
// do something useful
}