Re: How to modify a javascript .js file from ASP
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: How to modify a javascript .js file from ASP

From: David Dorward <dorward@yahoo.com>
Date: Mon Aug 15 2005 - 08:25:46 CEST

Luca Giannoni wrote:

> I need to create row depending on how read from Db so I try to insert
> vbscript block <% %> in my xxx.js file but i have always error.

You have to configure your server so that it knows that the .js file should
be processed for ASP blocks (and insert some ASP into that script so it
gets served with the correct Content-type).

-- 
David Dorward       <http://blog.dorward.me.uk/>   <http://dorward.me.uk/>
                     Home is where the ~/.bashrc is
Received on Mon Oct 24 02:14:08 2005