i can send the val value to php script but can´t send ref value, dont know why ...
can anyone explain to me what i'm doing wrong here ?
Code: Select all
var val = 150;
var ref = document.data_content.ref.value;
var url = "calcRef.php?ref=" + escape(ref) + "&val=" + escape(val);
xmlHttp.open("GET", url, true);
xmlHttp.send(null);