Quantcast
Viewing all articles
Browse latest Browse all 21760

Re: Mobile app with CF

suppose you had the following form:

               

you could post it to a remote server by adding a click handler to the button that calls:

$.ajax
(      {            url: "http://www.domain.com/api/remote.cfc",            type: "POST",            data: "method=yourMethod&" + $("#mainForm").serialize(),            success: function(data)            {                  console.log(data);            }      }
)

Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>