I\'ve got a function on all pages in my site which is located in my master page and I want it to run from some jQuery Ajax method.
I\'ve got some code like this at t
You can go the Base Class method route, as Andreas mentioned above.
Make sure:
(in Ajax call:)
url: window.location.pathname.substr(1) + "/GetDate"