I want to call JavaScript from C#.
Anybody know how
===============================================
In Java I have the following
my******.java
import netscape.javascript.JSObject;
private JSObject m_winObject;
m_winObject = JSObject.getWindow( this );
m_winObject.call("lib_setdata", args);
This ****** is part of a JSP Page
that has ( not literally but I cannot cope with these forum rules )
s c r i p t type="text/JavaScript" src="file.js" s c r i p t
and lib_setdata() is a function in the file js
...
I would like to go further and write an assembly in JScript
using all those iHtmlBLAHblahBLAH DOM items
but that requires getting at the document
I can create a C# ****** ( for want of a better description )
that accepts PARAM but it has been all down hill since then.
Anybody know how
===============================================
In Java I have the following
my******.java
import netscape.javascript.JSObject;
private JSObject m_winObject;
m_winObject = JSObject.getWindow( this );
m_winObject.call("lib_setdata", args);
This ****** is part of a JSP Page
that has ( not literally but I cannot cope with these forum rules )
s c r i p t type="text/JavaScript" src="file.js" s c r i p t
and lib_setdata() is a function in the file js
...
I would like to go further and write an assembly in JScript
using all those iHtmlBLAHblahBLAH DOM items
but that requires getting at the document
I can create a C# ****** ( for want of a better description )
that accepts PARAM but it has been all down hill since then.
Comment