This is probably elementary, but since my 'Dear Watson' is not present
I hope you folks can help me::
---------------------------
var dag = date1.getDate();
document.getElementById("selDay1").innerHTML =
makeRequest('test.php?d=1');
-----------------------------------------------
I try to put the value of date1.getDate() as a parameter in the call to
test.php via a makeRequest.
Everything works just fine as long as I use a fixed value for "d" (as
in this example....).
Obviously this is useless, so I want to use the variable "dag".
I've tried som creative variations, but with very poor result.
Help Please.......
\fred Moerman
ps.
"date1.getDate" comes from a calender
"makeRequest('test.php?d=XX')" makes a XMLHttpRequest to retrieve data from the server.