How to return jQuery Ajax data to a string?
code like this:
var data = $.get("e/as/ajax-dialog.php?do=member", function(data) {
return data;
});
alert(data); == > [object]
[object] is not what I want
I want the ajax callback html code to data[string]..
Update
My idea is wrong