View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
How about making the source of your JavaScript tag a FoxWeb script?  For example:
 
<script language="javascript" src="whatever.fwx" type="text/javascript"></script>
 
You can then create dynamic JavaScript code with FoxWeb.  The script whatever.fwx will return JavaScript instead of HTML code.
 

FoxWeb Support Team
support@foxweb.com email

Sent by Joe Bigelow on 01/15/2003 09:42:53 AM:
I'm in the process of setting up a very complex back end system for lodging that will be accessed from various domains all over the place. What I need to do is control a piece of the HTML the browser display to set up the calls and parameters necessary for the back end processing.
 
Using Javascript this is fairly simple. On the client web page I simply place the following:
 
<script src="domain/whatever.js"></script>
 
and I can the control the "whatever.js" script on my end making use of the document.write() function and what I need to show up on the client page is there.
 
What I "really" need to do is have my whatever.js script call a foxweb script then document.write() the results. Cannot get it to work. Any suggestions? The problem is that I cannot get the foxweb script to execute.
 
Thanks,
 
Joe Bigelow
HV/Net