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

Popular posts from this blog

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

python - Poor performance of db. inserts using django-mssql -

python - multiprocessing pool with map -