Author: mike123 | Posted on: 12/10/2008 11:03:16 AM | Views : 341

Hi,

For various reason I have a javascript that must be created dynamically.  Right now what I have setup is an ASPX page, that line by line writes each line of JS.
 The problem is when I enter the code on another page, it is not working properly.  It looks like its because of the .ASPX extension.   I have copied and pasted the outputted JS into a .JS static file, and re-referened the SCRIPT SRC tag, and it works fine.
<script src="testURL.aspx?plaintext=1&pic=yes&test=true"></script>

Go to the complete details ...