asp.net ajax - Access the caller DOM-object from the OnBegin function from AjaxAction -
problem: access dom-object called ajaxaction in onbegin function. here 1 solution: question parameters in onbegin ajaxoptions there cleaner way access it?
examples these not work:
function begincontactlist(args) { // onbegin // highlight selected group $('#leftcolumn li').removeclass('selected'); $(this).parent().addclass('selected'); // animate $('#tabs-1').fadeout('normal'); }
because this
object not contain information dom.
checkout answer question, there talk automatically inject additional parameters ajax context:
asp.net mvc : ajax actionlink- target html attribute
Comments
Post a Comment