posted 12 years ago
I've been having a problem regarding, I have a form which has a lot of fields , and each fields retrieves a data depending on the associated button that was clicked.
So, each my button, needs to call an ajax request, then the response will be displayed on the associated field.
I wonder if it is possible to call different method in my spring controller once i clicked on different button?
In other words, I want to make a multiple ajax request, and each request will call different method.
for example this code :
Currently what I can do, is to have one ajax request only.
Please , if anyone could help me on this.I really need this functionality and would greatly appreciate your feedback.