开发者

How to submit formtastic via ajax?

So i have a form generated by formtastic and it's working :

<%semantic_form_for(Model.new,:url=>{:action=>"fooobar"}) do |f|%>
<%end%>
开发者_运维技巧

i was wondering if there's any way to submit this form via Ajax like

remote_semantic_form_for

or

semantic_remote_form_for

because I have full functionality but it'll be a lot better if i don't have to reload the page on every submit.

Thanks.


Got this working with semantic_remote_form_for

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜