PDA

View Full Version : Calling REST proxy using textarea's blur event.



shivkant84
14 May 2012, 11:18 AM
Hi,

I have come across a requirement where i have a text area whose values has to be saved in the database using a RESTful service. Actually there is a complete Model having multiple distinct fields e.g combo, textfield, textarea.

As soon as I finish giving my value in the textarea then it's value should get saved in the database using REST service's put method. I don't know how can I call this service in with blur event of text area in controller?

Thanks!

scottmartin
14 May 2012, 1:46 PM
Can you just make an ajax call after you setup your proxy as 'rest'?

Scott.