View Single Post
  #15 (permalink)  
Old May 14th, 2004, 04:27 PM
Snib Snib is offline
Friend of Wrox
 
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Sorry, I didn't explain things well....

I think Imar can verify that to write a variable on a page with ASP, one way is to use the shortcut <%=ASPValueToSelect%>. Just using <%ASPValueToSelect%> will not write the variable (is this right Imar? Gosh I need to learn ASP).

ASP and JavaScript are two different things. ASP is server-side, and JavaScript is client-side, although you can use JavaScript as a server-side language through ASP (instead of VBScript). The JavaScript I wrote is meant to be run on the client-side, so is therefore encased in <script> tags. ASP cannot change the page once it is loaded. It pretty much forgets it exists after it sends it.

Let me know if you need more of an explanation.... it took me forever to understand stuff like this :).

Snib

<><
Reply With Quote