Open ericjang opened 13 years ago
Also, Pollen ajax returns a JSON object containing the data as a JSON object AND as a string so parsing the callback parameter doesn't work (that was what was causing problems in my project).
JQuery only returns the string, expecting the user to parse it themselves.
JQuery ajax function and pollen ajax are not identical, I can't seem to get pollen's ajax function to work with a certain library. Anyway, jQuery's ajax function is JQuery.ajax() and specifies 'type':'post' or 'type:'get', whereas pollen's ajax function needs p.ajax.post() or p.ajax.get() in order to work.