Accessing code behind method ( of C#) from a javascripts method.
-
I have a javascript method named function onOk() and a code behind c# method public viod messege(). I want to access messege() from onOk(). Please...........
shahdat
-
I have a javascript method named function onOk() and a code behind c# method public viod messege(). I want to access messege() from onOk(). Please...........
shahdat
You can use AJAX[^] and send request to server from JS.
Navaneeth How to use google | Ask smart questions
-
I have a javascript method named function onOk() and a code behind c# method public viod messege(). I want to access messege() from onOk(). Please...........
shahdat
I suggest you buy a book on ASP.NET and read it. Once you understand the seperation between client and server, buy a good book on AJAX, and read that. AJAX is how your client can contact the server and grab information it returns.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.