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
Check out these examples:
来源:https://stackoverflow.com/questions/9120972/looking-for-sinatra-ajax-example