Best strategy for HTML parcial rendering based on multiple dropdown values
- by pv2008
I have a View that renders something like this:
"Item 1" and "Item 2" are <tr> elements from a table.
After the user change "Value 1" or "Value 2" I would like to call a Controller and put the result (some HTML snippet) in the div marked as "Result of...".
I have some vague notions of JQuery. I know how to bind to the onchage event of the Select element, and call the $.ajax() function, for example.
But I wonder if this can be achieved in a more efficient way in ASP.NET MVC2.