Ok, I'm having another problem. Trying to describe the situation in brief, I'm working on creating a DHTML web page that contains a presentation that is actually generated by a foxweb script. The foxweb script returns text, actually HTML, but text, not a full page, something like:
"<table><tr><td>something or other</td></tr></table>"
document.write('<div name="whatever" id="whatever">' + HtmlStr + ;</div>')
HtmlStr = 'myscript.fwx?Row=' + row;
In an answer to Gene Gerard, subject 'JS variable to FP variable' you gave this syntax saying it would "Dynamically creates a URL that points to script MyScript.fwx and includes totPrice in the queryString as a field named "cost"."
var row = '4';
var HtmlStr = 'myscript.fwx?Row=' + row;
document.write('<div name="whatever" id="whatever">' + HtmlStr + '</div>')
What I get on the screen is
instead of the results of the script. In fact, the script is never executed, still sits on the server as an uncompiled fwx. I realize that there is a slight difference in what I am doing in that I am trying to save the results of the FWX to a memory variable instead of redirecting the browser as was the case in Gene's question, but I should think the syntax and execution logic is the same?
Any ideas or suggestions? If you want to see all the code and the action it is online at www.hvnet.com/features/riverboating.htm. Needless to say, this is rough and early in the development of this page. Trying to test the functionality before I go too far. Thanks in advance,