Working on a solution for a Sitecore CMS page that includes passing a variable from the parent page to an VBScript ASP page in an iFrame. The code I currently have in the parent page is:
var locationID = '@Model.IgnitionID';
And the code in the receiving iFrame page is:
barkBark = ("#locationID", top.document)
...later in the code...
<p>Location ID: </p>
I know the parent page code works - the document.write shows the correct code.
When I run the code as-is, I get an 'expected ')' message, with the prompt to put it after "#locationID". I have tried adding it there, nesting it another set of parens, changing top.document to parent.document.body. The anticipated value is a GUID.
Any help is greatly appreciated!