开发者

How to submit a form thriugh ajax in rails3

开发者 https://www.devze.com 2023-03-16 09:11 出处:网络
开发者_开发百科I am using rails3, jquery-rails gem. In my index page i m having the list of projects and form. when i submit the form through ajax call the i need to add the project to above list. I

开发者_开发百科I am using rails3, jquery-rails gem.

In my index page i m having the list of projects and form. when i submit the form through ajax call the i need to add the project to above list. I got the Ajax response as json. Then how to use this response to add the bottom of the above list.


Using jQuery appendTo

0

精彩评论

暂无评论...
验证码 换一张
取 消