A
Alexander Kaplunov
Hello,
I was wondering if there is a way to call a JavaScript function from
code-behind. I know that you can add a "onclick" attribute to a button but
that is not what I'm looking for. What I'm looking for is something similar
to this:
Client side:
function test()
{
alert("Got test!");
}
Server side:
public void foo()
{
call_javascript_function("test");
}
Is there a way to accomplish this?
Any help is appreciated.
Alex.
I was wondering if there is a way to call a JavaScript function from
code-behind. I know that you can add a "onclick" attribute to a button but
that is not what I'm looking for. What I'm looking for is something similar
to this:
Client side:
function test()
{
alert("Got test!");
}
Server side:
public void foo()
{
call_javascript_function("test");
}
Is there a way to accomplish this?
Any help is appreciated.
Alex.