Click here to Skip to main content
15,914,500 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi,
I am new in MVC3.
I have a .cshtml file where a td is defined under table
this td looks like:
HTML
" <td  style="width: 120px;">
<a class="status" href="/cms174/items/nl.autovisie.1/changestatus?itemid=f4ccf163-e88e-4943-82ce-6e6470866c7e&silent=True&statusid=e2ae44fb-1228-42f7-95c3-231b482fb55c" title="Gepubliceerd">Gepubliceerd</a>
</td> "

An article get published when user click on this
.

Now as per requirement, i have given a select all option with a dropdown to choose an action for publish/unpublish .
On selection of "select all" and using the value "publish" from dropdown, when user click a button all these rows have to perform publish/unpublish action, which was earlier on td's hyperlink.

Here "Items" is a controller, "changestatus" is an action of controller.
Please help me to achieve the same using jquery/javascript. I am not able to perform @Url.Action in that.

Regards
Gopal
Posted
Updated 11-Jun-12 1:13am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900