I’m new to ajax and I’ve a little problem to sending parameters in
order to be executed on the controller.
Suppose that “function updatextable(e)” which is javascript function
is called somewhere in the application (onDrop of draggable element).
How can I send “e.value” to the controller in order to do some active
record operations?
Suppose that “function updatextable(e)” which is javascript function
is called somewhere in the application (onDrop of draggable element).
How can I send “e.value” to the controller in order to do some active
record operations?
I suppose the same way you send any data in a HTTP request, whether that
be by AJAX or not makes no difference.
That is unless you want to take some more extreme measures like sending
data to the server using something other than HTTP (i.e. Adobe Flash, a
Java Applet, etc.).
I’m new to ajax and I’ve a little problem to sending parameters in
order to be executed on the controller.
Suppose that “function updatextable(e)” which is javascript function
is called somewhere in the application (onDrop of draggable element).
How can I send “e.value” to the controller in order to do some active
record operations?