The URL has to be in quotes. Also, looks like the second arg to ajax() should be the 'name' attribute of the input field, not the id (though, in this case they are the same).
Anthony On Wednesday, November 2, 2011 1:59:48 PM UTC-4, Vineet wrote: > > I did check the network tab in Opera Dragonfly. > Upon clicking the ajax link, there is no network activity. > Nothing is sent or fetched. > In "Network" tab => "url", if I put manually '/appname/ > controllername/' and click on "Send Request", > In response, 'Failed to load URL'. > > The URL helper, ajax function syntax are correct. I double-checked > that. > I am wondering what might be wrong ! > > :-( > Vineet > > On Nov 2, 10:19 pm, Anthony <[email protected]> wrote: > > On Wednesday, November 2, 2011 1:13:46 PM UTC-4, Vineet wrote: > > > > > Yes. I used Opera Dragonfly & IE Developer Tools. > > > It doesn't show any js error. > > > After clicking the link also, no error. > > > > > How & Where do I check the sent & returned values? (in the developer > > > tools or in Dragonfly) > > > > In IE, Network > Start Capturing. Click the link and watch for the Ajax > > request. If there's no request, then the onclick and/or ajax() function > > isn't working. If there is a request, select it and go to the detailed > view > > and look at the request headers and body and the response headers and > body > > to make sure the right data went out and was returned. > > > > Anthony

