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

java - SSE Emitter : Manage timeouts and complete() -

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

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -