McBilly, my serverside code wouldn't help you its bloated with other stuff,
but basically:
if you set the datatype to json, you must echo your data like this
echo '{ myVar : this is my value}';
if you set it to xml, then it would be something like:
echo 'myVarthis is my value/myVar';
if you
Hi Alex.
Thanks for the help. I'm not sure what I'm doing wrong since the upload code
works fine if I don't use jquery. I can upload the file and store it as a
BLOB in the database. But this only works if I use the form and POST method
and letting the whole page load.
Anyway, thanks again. If I
as a matter of fact, i just used that plugin and i had to do a lot of fixing
in order for it to work on jquery 1.2.6
here is the updated code:
jQuery.extend({
createUploadIframe: function(id, uri){
//create frame
var frameId = 'jUploadFrame' + id;
if
Hi Alex.
Could you also give me the codes you used for the ajaxfileupload.php and
doajaxfileupload.php?
I tried your updated code but it still cannot understand the data file type.
I tried upload both and image (jpeg) and word doc.
Thanks a lot!
Best,
McBilly
On Sun, Aug 31, 2008 at 8:55 PM,
i would think your issue is on the serverside, or your test file itself. the
plugin's datatype setting tells about which type will the return message be
(xml/html or json)
Alexandre Plennevaux
LAb[au]
http://www.lab-au.com
On Sat, Aug 30, 2008 at 12:10 PM, McBilly Wilford Sy
[EMAIL
5 matches
Mail list logo