send multiple from js to php
Posted: Wed Aug 06, 2008 1:13 pm
hi there,
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 ?
thanks in advance
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);