javascript - Is there anything like .js.erb templates in ASP.NET MVC 3? -


i adding jquery ajax functionality mvc 3 site. when use rails, make ajax call using $.getscript function render .js.erb executed on client (e.g. http://railscasts.com/episodes/229-polling-for-changes ). mvc 3 have equivalent javascript views?

yes does

public actionresult ajaxmethod() {     /* stuff */     return partialview("viewname"); } 

this return html of above view calling ajax method


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -