Friday, September 17, 2010

How to implement a function called in the method "onUpdate" when using sortable.create in Rails

Programmer Question

Hi - I am creating an application using ROR and would like to know how I can implement a function which I want to call when using "sortable.create".



Below is a sample code from my "*.html.erb" file.






Instead of "Alert" I want to call a actual function to which I can pass the parameters in this case the list "table_retain" and implement the function in 'Application Controller".



I would like to know the syntax as to how this can be done. I am new to ROR and any help will be greatly appreciated.



Thanks



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails