Re: WPAjax and responseText
Hmm, I tried that yesterday and it didn’t seem to work. I checked out the WPAjax class and tried commodAjax.transport.responseText
, this.responseText
, and a couple more variations on that theme.
Once I get an admin backend for my plugin I’m going to upload it so that everyone can see the source. It’ll probably be a little easier to answer questions then.
commodAjax.request(commodAjax.url);
is requesting the admin-ajax.php
file, sending it some postdata, and it’s responding with a 1 (success), 0 (borked data), or -1 (permissions error).
Thanks.