Click here to Skip to main content
16,017,687 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
$.getJSON('/Setup_Location/GetCountryName/', iuse this code for passsing controllername and action name but thats not passed..please another way to pass..please send me
.........

no error came how to pass controllername and action name using json.
Posted
Updated 21-Nov-13 22:25pm
v2
Comments
♥…ЯҠ…♥ 22-Nov-13 3:01am    
do you get any error in network option in browser debugger? have you checked it?

1 solution

you can do like this

'@Url.Action("actionName","controllerName")'
 
Share this answer
 

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