On May 1, 5:12 am, Sumana <[email protected]> wrote:
> 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

Torino can run JavaScript embedded in web pages, either via the
command line or through a servlet interface. Take a look at
http://torino.sourceforge.net

Steve
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to