Besides the obvious, do you think the Jquery version can cause issues?
Hiran Desai
You need to provide exact problem first.
Which can be answered by following,
1) does your script is working fine?
2) Do ajax request is going to server?
3) Are you able to identify whether your GetUsers method is called?
4) At what level you are trying to access URL from $.getJSON("/Admin/GetUsers".. which is dependent on your current level...say you are at (http://something.com/hereYouare)
Please provide exact information so that one can point out.
After looking at your code, Your MVC code in controller and $.get seems right...
why you have onChange on document?
WorknHardr
ASKER
Solution: I created a new controller named 'Manager' and cut-n-paste exact code from the non-working 'Admin' controller, did same for View. The new 'Manager & View works!
As a test, I deleted the non-working 'Admin' controller and view, cleaned & rebuild solution, closed & reopened VS2012, then created a new 'Admin' controller and view, it's NOT working either, just as before.
Problem: I don't why JQuery fails to find a url starting with '/Admin/'
Besides the obvious, do you think the Jquery version can cause issues?