I am a newbie in the ASP.NET technology and also I did not find any answer on the forum (however if there is one please let me know)
I am writing ASP.NET MVC app and I use a lot of Ajax there.
And here is the problem:
For such a case:
Everyting works perfectly fine. However when I try to input the function into the class and then call it, it does not work.
I am doing this in the following way:
I initilize the object in the header and then in the body I put the following.
The second idea does not work.
I know about $.ajax type of solution but actions like OnComplete, OnBegin,.. etc worked perfectly for now.