asp and JScipt
| Author | Topic |
|---|---|
| Gary Wood Member Joined: 18 Jun 2002 Country: Posts: 2 | Posted: 18 Jun 2002 23:59:37 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?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? |
| aegis kleais Total freaking Member Joined: 17 Apr 2002 Country: Posts: 301 | Posted: 19 Jun 2002 06:23:09 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. 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. |
Posted: 18 Jun 2002 23:59:37










