c# - Pass div content to controller -
example:
<div id="result"> action </div> @ajax.actionlink("vote", "vote", new { id = model.catalog_id, vote = result }, new ajaxoptions { httpmethod = "post", onsuccess = "location = location", confirm = "are sure vote?" })
div result change when user selects different radio button value. want pass latest radio button value controller insert data. possible?
using ajax method call can solve problem
Comments
Post a Comment