marianmarian
Programmer
here is what i am doing.
in my html file i have these:
<script>
setTimeout('downloadEnv(someDate)',5000);
function downloadEnv(created)
{
document.location="download.php?date=" + created;
}
</script>
<html>
<td>
<a href="download.php" onclick="JavaScript:someDate.value='2004';">Download</a>
</td
</html>
how do i get my settimeout to get the value of 2004?
in my html file i have these:
<script>
setTimeout('downloadEnv(someDate)',5000);
function downloadEnv(created)
{
document.location="download.php?date=" + created;
}
</script>
<html>
<td>
<a href="download.php" onclick="JavaScript:someDate.value='2004';">Download</a>
</td
</html>
how do i get my settimeout to get the value of 2004?