寻找西纳特拉AJAX例如 [英] Looking for sinatra ajax example
本文介绍了寻找西纳特拉AJAX例如的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
很抱歉,如果这已经涵盖。寻找AJAX与西纳特拉一个例子,特别是得到部分,并将其应用到DOM的一个标签,一个JavaScript按钮处理程序。 THX
Sorry if this has been covered. Looking for a example of AJAX with Sinatra, specifically to get a partial and apply it to a tag in the DOM, from a javascript button handler. thx
推荐答案
看看这些例子:
- https://github.com/fcantelmi/sinatra_ajax/ (微小的例子)李>
- https://github.com/crguezl/sinatra-jquery-ajax/
- http://ididitmyway.heroku.com/past/2011/2 / 27 / ajax_in_sinatra /
- https://github.com/fcantelmi/sinatra_ajax/ (tiny example)
- https://github.com/crguezl/sinatra-jquery-ajax/
- http://ididitmyway.heroku.com/past/2011/2/27/ajax_in_sinatra/
这篇关于寻找西纳特拉AJAX例如的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文