I have a customer service chat code in javascript. I wanted to insert it to SOME of my product pages. Since all my product pages are generated from one asp file, I have made a new checkbox entry in my AccesDB named "chat", I selected the appropriate products and then I put the following lines in my asp file:
<% if cbool(chat) then %>
<script language="Javascript" src="/mychatfolder/mychat.asp"></script>
<% end if %>
This code works well with inserting html elements, but it doesn't seem to work with javascript. I'm not the programmer (I can't reach him now..), so I would appreciate any help.