ajax onsucess method context
        Posted  
        
            by mazhar kaunain baig
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by mazhar kaunain baig
        
        
        
        Published on 2010-06-09T05:53:05Z
        Indexed on 
            2010/06/09
            6:02 UTC
        
        
        Read the original article
        Hit count: 247
        
function createSuccess(context) {
   $get(“result”).innerHTML = context.get_data();
}
<% using (Ajax.BeginForm(new AjaxOptions {OnSuccess="createSuccess"}))
{%>
What does context holds in the createsuccess method? data return by controller? How do we return json data in the createsucess if so
© Stack Overflow or respective owner