Is it possible to execute javascript function embedded in an HTML
page? or can Rhino only deal with .js files?
For example, I'd like to know if given this literal string:
<html><script>var a = 1; function f1() {return 1;}</script></html>
can I get Rhino to execute function f1()?
Is there anyway I can invoke f1() programmatically from Rhino?
Thanks for your input!
Sumana
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino