Reputation: 3333
I am tring to use java.lang.String inside my javascript file. But this fails in IE.
Is there a workaround for IE.
This is what I'm trying to do.
var byteArray = (new java.lang.String("asdf")).getBytes();
Upvotes: 3
Views: 222
Reputation: 2576
Unlike Firefox; IE doesn't have direct access to the Java libraries and it would be somewhat insane to 1.) assume Java is installed 2.) use the Java libraries within client side script.
Upvotes: 1