views:

38

answers:

1

I have a list of items and each item has a Html.CheckBox. What is the best way to bind a ajax call to that checkbox. Is there a a sexy way "like" Ajax.ActionLink or just use jQuery for this?

So my question is: is there a MVC ajax way of doing this or do I just do this with jQuery.

+1  A: 

Just use jQuery AJAX - it is the 'sexy' way because it's also the simplest.

The MVC way to do this is just that - MVC is all about simple clean HTML that's easy to write javascript for, rather than tons of plug-in server-side options that produce horrible HTML like WebForms.

Keith
Thank you, just wanted to be sure :)
Bjarki Heiðar