-1

I need to call server side function from client side using JavaScript. How can I accomplish this?

halfer
  • 19,824
  • 17
  • 99
  • 186
user271628
  • 101
  • 3
  • 15

1 Answers1

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