jQuery ajax : error while passing variables in data
Posted
by Tristan
on Stack Overflow
See other posts from Stack Overflow
or by Tristan
Published on 2010-05-08T12:49:18Z
Indexed on
2010/05/08
12:58 UTC
Read the original article
Hit count: 221
Hello,
just a quick question :
var h = $('#hebergeurJQUERY').val();
var t = $('#typeJQUERY').val();
function requestData() {
$.ajax({
type: "GET",
url: '12months/months.php',
data : "hosting="+h+"&type="+t+"",
......
doesnt work while
data : "hosting=Something&type=Something",
Works.
Any idea to something stupid i did (again ?) ;)
Thanks
© Stack Overflow or respective owner