I need to call server side function from client side using JavaScript. How can I accomplish this?
Asked
Active
Viewed 874 times
-1
-
Do you really expect people to answer this question? Do some research yourself and then come back with specific problems if you have any. – Gerrie Schenck Feb 17 '10 at 10:08
-
Voting to close as too broad. – halfer Sep 09 '18 at 09:59
1 Answers
2
Basically, you can do an Ajax call to achieve this!
Google for how to use ajax to call server side functions from JavaScript.

halfer
- 19,824
- 17
- 99
- 186

Mahesh Velaga
- 21,633
- 5
- 37
- 59
-
i got answer by refering http://aspalliance.com/1294_CodeSnip_Handle_Browser_Close_Event_on_the_ServerSide.1 thanks mahesh – user271628 Feb 17 '10 at 13:29
-
This answer says "Ajax" and then says "Google it". It's correct in the sense that the question was too broad even in 2010, but this is not really an answer. – halfer Sep 09 '18 at 10:00