automatic2
Technical User
Can someone help. I have a javascript menu (hmenu) where the html pages loads two scripts, config.js and browser.js. brower.js subsequently refers to a browser dependant construct script (.js) This all works well when accessing the html pages.
Then I changed things up. I wanted to pass several variables along with the pages, so I POSTED my input forms with hidden variables to a Perl script. This script then writes out an html page containing the passed variables, and more importantly my javascript calls. My problem is that the javascript fails to function.
My javascript is
<script type="text/javascript" src="includes/browser.js"></script>
<script type="text/javascript" src="config.js"></script>
I've change up the src="script_loction" with all possible combinations of absolute and referenced script locations. I've adjusted .htaccess to include 'AddHandler server-parsed .html', but to no avail.
any suggestions as to how to serve the html document that contains the javascript calls, and have it all function.
Then I changed things up. I wanted to pass several variables along with the pages, so I POSTED my input forms with hidden variables to a Perl script. This script then writes out an html page containing the passed variables, and more importantly my javascript calls. My problem is that the javascript fails to function.
My javascript is
<script type="text/javascript" src="includes/browser.js"></script>
<script type="text/javascript" src="config.js"></script>
I've change up the src="script_loction" with all possible combinations of absolute and referenced script locations. I've adjusted .htaccess to include 'AddHandler server-parsed .html', but to no avail.
any suggestions as to how to serve the html document that contains the javascript calls, and have it all function.