Thursday 29 December 2011

Calling C# function(code behind) from javascript function

u can call a code behind function from JS as


var str = '<%=M1()%>'

where M1() is a server side function . it shuold return some string to JS variable str.

No comments:

Post a Comment