I have a mvc widget and want to create a dynamic input box that suggests names to you.
I have a controller that has two methods Index (returns the actual widget markup) and Search (return a list of names in Json format).
I call the search action using jquery $.ajax and append my items to a <ul>
The problem i'm having as I cannot get to the search action the ajax call always returns a 404. What should I be setting the url parameter to?
Here are my controller action