Its just the basics, but I am falling asleep.

myData= "width=" + screen.width+ "&height="+screen.height;
$.ajax({
type: "POST",
url: "ajax.cfc?method=myMethod",
data: myData,
success: function(){}
});


On Sun, Dec 23, 2012 at 3:43 AM, The Dude <[email protected]> wrote:

>
> Agreed, I saw the results on the page but completely forgot to check the
> actual page source. Any idea on the best way to ajax post to cf in jquery?
>
> >No, it is NOT showing the js result value instead of the text string, nor
> >is this a fluke. CF is outputting the exact same string you set them to,
> >the DOM in the browser is parsing the JavaScript so you see the variables.
> >
> >As I mentioned, if you view the source of the HTML you will see those
> >strings exactly the way you set them.
> >
> >
> >
> >--
> >/Kevin Pepperman
> >
> >"*Never memorize what you can look up in books*."
> >--Albert_Einstein
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353633
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to