Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

asp and JScipt

Posted 18 Jun 2002 23:59:37
1
has voted
18 Jun 2002 23:59:37 Gary Wood posted:
I have a page that uses ASP to access a database and JScript to create a dynamic menu, but I cant assign the Jscript arrays with the values returned by the asp code, is there something obviously wrong with what i'm trying to do?

Replies

Replied 19 Jun 2002 06:23:09
19 Jun 2002 06:23:09 aegis kleais replied:
My understanding of ASP is that you must CREATE the page on the server before it is returned in final HTML format to the browser.

Javascript and Jscript operate on the fly after the page has been loaded, But they do so after the ASP. If you want ASP values to be used with Javascript/JScript, I recommend setting invisible form elements to the ASP values and at that time, you can use Javascript/JScript to mess around with those values.

Reply to this topic