Call server side function using javascript 

Call server side function using javascript 

  
Hello All,

How to call server side method using javascript, after some time of interval?I am able to call javascript method after some interval, but how to call server side method?
Keep a button on your page and hide it using display none , raise click event of the button from javascript or you can also try fake notify widget to achieve this.


Regards
-PJ-
Hi,
Thanks for your valuable reply, but can you please provide screen shots or link then I can easily achieve it.
Pradip, You just need to put a jquery line like this in your settimeout closure: $(#' + MyButton.Id + ').click(); The screen action binded to your MyButton will do the server side magic.
Thats it...Thnx Joao.
João Melo wrote:
Pradip, You just need to put a jquery line like this in your settimeout closure: $(#' + MyButton.Id + ').click(); The screen action binded to your MyButton will do the server side magic.
 Hi,
Where this property is located, can you please add screen shot so that i can get it more clearly. I am unable to get how and where to add that jquery line.