When calling an ASP.Net PageMethod, we call it as follows:
function doSomething(htmlElement)
{
PageMethods.GetText(onSuccess, onFailure);
}
What is the best way to retain a reference to the htmlElement in the above example, so that we may continue to work with it in the onsuccess method?
Thanks for any help in advance