Duplicate :
|
When calling Java from Javascript, the result type returned from Java is a Javascript Object with the 1.5.0 runtime. With 1.4.x the result type is a simple type. The causes some Javascript code to break. For example, the Javascript split function expects a string, not an object. If the returned value from a Java call were passed to the split function, it would result in an undefined value from the split call. ###@###.### 2004-11-12 00:52:53 GMT