A ColdFusion user asked me (at MAX) how to get ColdFusion's Ajax calls to use POST instead of the default GET. The answer, courtesy of ColdFusion team member Rakshith, is to use <CFAJAXPROXY> to define the proxy CFC, and then use the setHTTPMethod() method to set the method type. Here is Rakshith's example:
<html>
<head>
<script type="text/javascript">
function test()
{
Var abccfc = new abc();
abccfc.setHTTPMethod("POST");
// All method calls on this instance will henceforth use POST instead of GET
abccfc.somemethod();
}
</script>
</head>
<body>
<cfajaxproxy cfc="abc">
<cfinput type="button" name="test" onclick="test();">
</body>
</html>
thanks for posting this Ben...
ColdFusion.navigate(URL [, container, callbackhandler, errorhandler, httpMethod, formId])