 <p>Here's an example which changes the text inside a division based on the response from ur actionmethod...</p> <pre><code>//a class with properties. Class Priveleges{ Public string StatusMessage{get;set;} Public int StatusCode{get;set;} } //code inside controller [HttpGet] Public JsonResult Index{ Priveleges obj=DecidePriveleges(): Return Json(obj,allowget.true); } Private Priveleges DecidePriveleges(){ Prilveleges obj; //prepare object based on server response If(response=="high"){ obj=new Priveleges(){ StatusMessage="high priveleges", StatusCode=1} }else if(response=="medium){ obj=new Priveleges(){ StatusMessage="medium priveleges", StatusCode=2} }else if(response=="low"){ Obj=new Priveleges(){ StatusMessage="low priveleges"‚ StatusCode=3} } Return obj; //code inside ur view //suppose you want to change the text inside //ur div when the page loads.. &lt;div id="statusDiv"&gt;&lt;/div&gt; //here is ur javascript. $(document).ready(function(){ $.getJSON('/controller/Index',function(data){ $('#statusDiv').text( 'You have '+data.StatusMessage); }); }); //here data,the parameter of getJson method. //holds the data coming from our action //method... </code></pre> <p>Sorry for the code format..posted the code from my mobile...</p> <p>hope this small examle may be helpful..</p>