tags:

views:

46

answers:

1

Do i need any additional file other than jquery.js/jquery-min.jsd in order to enable the ajax jquery calls to the server?

+1  A: 

No. The jquery script contains the $.ajax method.

sje397
i want to use $.getJSON method....
apoorvabade
That is a 'shorthand' method, that actually calls `$.ajax`, and it too is in the script.
sje397
yes... But it is not working.... the URL that we give in th getJSON call is any url which is matched in web.xml of the application and accordingly the function is invoked... am i correct?
apoorvabade
if you could post an example here plz... i am using spring mvc3.0....
apoorvabade
It's not a jquery ajax problem. Examples of it's use are [here](http://api.jquery.com/category/ajax/) ... but you should be able to debug the server just by hitting the url with your browser.
sje397