Welcome Guest, Not a member yet? Register   Sign In
Send value from view to method and vice versa
#4

I think you need AJAX to do this.
Insert a link to the latest Jquery library in the 'head' section of your view (or template).
Jquery makes life a lot easier when it comes to implementing AJAX.

At the bottom of your view, create a script that sends an AJAX-request to the controller (with the current value), and get the new value back.
Jquery can replace the old value by the new value on the fly.
Reply


Messages In This Thread
RE: Send value from view to method and vice versa - by Wouter60 - 09-12-2015, 03:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB