hi all,

i have a java script file copy.js in which i need to access a java function. please let me know the ways of doing it.

java fun:

public class B extends A
{
...
public int rtn( )
{
return proceed;
}

js:

fun xyz()
{
if ( //here that rtn fun should be called)
{
//proceed further
}
else
{
//stop
}
}

please help.