Hi everybody,

I would like to send a javascript parameter with this jQuery method :

$.ajax({

        url: "myurl",
        dataType: "json",
        data: {"myparameter" : "value"},
        beforeSend : function(xhr) {
        xhr.setRequestHeader("Authorization", "Basic " + coded);
        }

      })

Do you know how I could get the parameter "myparameter" back and use its value in a velocity script ? I don't know if it's possible or not.

Thanks in advance for your help.

Regards, Pierrick

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to