This is a forum where members new and old can come to ask questions and get info and opinions. It is not a place to advertise your business or have other forms of advertising, whether it be in your posts or signature.

All links in the forum will not be indexed by Search Engines and any unapproved forms of advertising or spam will be dealt with accordingly, deleted, and that member's account banned.

Forums

Overview » Dreamweaver » asp and JScipt
Reply

asp and JScipt

Gary Wood
Member



Since: 18 Jun 2002
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
Locked
Total freaking Member



Since: 17 Apr 2002
Posts: 301
Replied 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.

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

Message
Reply
Follow us on Facebook Follow us on twitter Subscribe to the RSS feed
Activate your free membership today | Login | Currency