Can I call a server-side method from Javascript?
What I have is a page that plays a flash video and I have actionscript that call a javascript method. In the javascript method I would like to call a server side method.
Currently I have a hidden button who's button click event is called through javascript but would like to take it one step further and remove the hidden button.
Is this possible?
This is what I currently have:
This is what I would like to do:
Regards
Alex
What I have is a page that plays a flash video and I have actionscript that call a javascript method. In the javascript method I would like to call a server side method.
Currently I have a hidden button who's button click event is called through javascript but would like to take it one step further and remove the hidden button.
Is this possible?
This is what I currently have:
<script type="text/javascript"> |
function SomeFunction() |
{ |
document.getElementById('<%=Button1.ClientID%>').click(); |
} |
</script> |
This is what I would like to do:
<script type="text/javascript"> |
function SomeFunction() |
{ |
//call a server side method |
} |
</script> |
Regards
Alex