How to call jQuery function from code behind of ASP.NET? [Resolved]

Posted by Hanishani under ASP.NET on 9/2/2013 | Points: 10 | Views : 3246 | Status : [Member] | Replies : 1
I'm working in a project where I need to call the jQuery function from code behind of ASP.NET.Please suggest me how to do?




Responses

Posted by: Bandi on: 9/3/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
---Try this
ClientScript.RegisterStartupScript (this.GetType(), "blah", "YourJsFunction();", true);

Refer this link
http://stackoverflow.com/questions/2397165/call-jquery-function-from-asp-net-code-behind-c-sharp
http://stackoverflow.com/questions/6178811/call-jquery-from-code-behind

Mark This Response as Answer
--
Chandu
http://www.dotnetfunda.com/images/dnfmvp.gif

Hanishani, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response