ajax - Call rails method periodically -


I want to tell a rail method automatically whenever the content of the text field changes, or every N Second How do I do this? The method is on the model definition of object. In addition, how do I get the textfield content?

Thank you.

This will require some javascript to be used. I'll use the library to help me together. I'll find the net ('Google') "Rail Junkies" for some tutorials.

Or if you check any other library,

Once you have replaced your JavaScript library, there is a need for some type of script to monitor the input. One way to listen to this is to use a funnel event, then this script will then post your data to AJAX on the server.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -