I'm trying to use ajax with spring 3 but i can't find a correct tuto so i post here some questions.
here is my function js
here is my controller where i want to get my object Menu:
How can i get my param id from my js function getDetails?
i receive an alert error from my function getDetails: Error occured
How can i get my object in my function js to display the result? for example :
document.getElementById('txtDesc').value = object.getDesc()