I\'m fairly new to JQuery and MVC 2 which makes this a bit harder, I\'ve always used WebForms before. I\'m using the NerdDinner example as setup (I\'ve switched Dinner>
Ignore the Ajax helpers, they're for ASP.NET AJAX scripting.
Ajax
Change your link to:
<%= Html.ActionLink("Details", "Details", new { id = item.id})%>
And your jQuery to:
$('tr').click(function() { var url = jQuery(this).find('a').attr('href'); $("#details").load(url) });