hello i have this question i was trying to find a way to call a javascript function from asp controllers and i did here is the code :
<script type="text/javascript">
function hello() {
alert("hello world")
}
</script>
< /head>
<body>
<form id="form1" runat="server">
<div>
<asp:Button ID="buttonme" runat="server" OnClientClick="javascript:hello()"
Text="click" />
now lets say i have this code behind function
Public Sub msg()
MsgBox("hello world")
End Sub
and i want to call it from a javascript function so it will be like controller----call---> javascript ---call--->code behind
is there is a way to do this