hi all

i have a javascript callback function that return a data json string from a 
dajaxice view

this is the callback function

function message_callback(data){
    alert(data.id);
    var id_book = data.id;
    var uploader = $('#uploader').pluploadQueue({
            url : 
'/admin/ecommerce/books/images/upload/'+id_book.toString()+'/'
    });
    ...........

the aleet return the correct id number
but the url is : /admin/ecommerce/books/images/upload/undefined

have someting wrong?
sorry if you think this is a stupid question but i have lost a lot of time 
googleing this problem without any result

have a nice day

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/EWOvfUBXKnAJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to