ColdFusion CFC CORS and AJAX posts
问题 I'm trying to get a form posted to a remote server. The general idea, for now, is that the HTML will run locally and will post to a remote server via AJAX. So there's a form, the JS and the CFC it's posting to. Below is the JS $(document).ready(function () { $("#submit").click(function(){ var setName = $("input[name='setName']").val(); var setNumber = $("input[name='setNumber']").val(); var setTheme = $("input[name='setTheme']").val(); var retailPrice = $("input[name='retailPrice']").val();