27 May
2013
27 May
'13
3:15 p.m.
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