I have fumbled blindly around in every sort of doc on and off line to locate how (if possible) to assign a js variable as the value of an applet param tag generated in a "document.write" applet script.
I have found one or two syntax options but neither has helped at all. I am tapped out and I see a couple of other similiar threads around with no resolution.
Here's my statement out of context. It is one of twenty such elements of an applet tag. All the others are static assignments that work fine and the applet tag is published and loads the applet fine.
document.write("<PARAM NAME=\"links3\" VALUE=\" + portal\">"
where 'portal' is a global var in the same page assigned to the value of document.referrer. This assignment is confirmed via a document.write on the resulting html page.
I found on another forum a sample like:
document.write '<param name=MAPFILE value="' + siteMapUri + '">
but that led no where no matter how I tweaked the syntax. Any insights would be salve for my wounds. I need to support NS4x & IE4.x in this implementation. Seasons Greetings! -Kim
I have found one or two syntax options but neither has helped at all. I am tapped out and I see a couple of other similiar threads around with no resolution.
Here's my statement out of context. It is one of twenty such elements of an applet tag. All the others are static assignments that work fine and the applet tag is published and loads the applet fine.
document.write("<PARAM NAME=\"links3\" VALUE=\" + portal\">"
where 'portal' is a global var in the same page assigned to the value of document.referrer. This assignment is confirmed via a document.write on the resulting html page.
I found on another forum a sample like:
document.write '<param name=MAPFILE value="' + siteMapUri + '">
but that led no where no matter how I tweaked the syntax. Any insights would be salve for my wounds. I need to support NS4x & IE4.x in this implementation. Seasons Greetings! -Kim