I'm trying to write a function to place in a loop
I want to pass a date through the function to return a true or false value
This is what I have so far..
------------------------
Do until rst.EoF
dte = rst("Date")
IF TSExists(Dte) = "True" THEN
Do this
ELSE
Do this
END IF...
Is it possible to dynamically change the background of a table cell when you click on a hyperlink within that cell, without refreshing the page?
Cheers
J
I've gone back to
<a href="#?<%=thisdate %>" onclick="fillBox(this.href); return false;">
and changed to
function fillBox(str) {
var targ = document.forms['formname'].elements['textfieldname'];
targ.value = str;
}
Now the whole URL is appearing in the text box
I had to change the value in your example as the calender is dynamically created
from
onclick="fillBox('01/01/04'); return false;">
to
onclick="fillBox('<%=thisdate %>'); return false;">
but the value was lost
Just hit a problem.
When I move back and forward to other months, I carry forward the year and month in a querystring value.
calender.asp?M=12&Y=2004
"M=12&Y=2004" is now forming part of the link in "#?"
Any ideas how to stop that happening, or is that an ASP thing.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.