I just got jQuery jsonp to work with coldfusion remote CFC's

The response has to look something like this

hello2({"cobblers":[{"filling":"peachremote","timeToBake":30},
{"filling":"cherry remote", "timeToBake":35},{"filling":"blueberry
remote", "timeToBake":30}]})

or this

hello3([1.0,2.0,4.0,9.0])

hello2 and hello3 for some strange reason are functions outside of
the .getJSON but also defined inside of .getJSON as empty functions.

$.getJSON("xyz&format=plain&jsoncallback=?",
function hello3 (data){} );






Reply via email to