My question is actually more than the above.
I have an ASP variable that will be declared at the bottom of a page. I would like to print the value at the top of the page. It seems that I should be able to use javascript to pluck the value and print it at the top of the page since ASP is done on the server and only sends HTML to the client where JavaScript should be able to do it's magic.
I have tried many things. I would also like it to print the value without having to refresh or click anything. I was playing with body onload but have not been able to get it to work. Here is a layout of the page:
<html>
<head></head>
<body>
I would like to print the value of strCount here
...there is more cold and such here
<% strCount = "10" %> This is the ASP variable
</body>
<html>
Is this even possible? Thanks in advance ( I always vote positive for even remote help).
Joe
I have an ASP variable that will be declared at the bottom of a page. I would like to print the value at the top of the page. It seems that I should be able to use javascript to pluck the value and print it at the top of the page since ASP is done on the server and only sends HTML to the client where JavaScript should be able to do it's magic.
I have tried many things. I would also like it to print the value without having to refresh or click anything. I was playing with body onload but have not been able to get it to work. Here is a layout of the page:
<html>
<head></head>
<body>
I would like to print the value of strCount here
...there is more cold and such here
<% strCount = "10" %> This is the ASP variable
</body>
<html>
Is this even possible? Thanks in advance ( I always vote positive for even remote help).
Joe