When invoking an ASP.Net PageMethod, the call is made like this:
function doSomething(htmlElement)
{
PageMethods.GetText(onSuccess, onFailure);
}
Is there a recommended approach to keep a reference to the htmlElement in the scenario above, allowing for further manipulation within the onsuccess method?
Appreciate any assistance you can provide. Thank you!