Using JavaScript, I have assigned several Predefined Activ-Variables to variables within the script, and wish to assemble them in an escaped string for passing them to an ASP page through the URL.I've been unsuccessful, receiving errors whenever the page is run from Activ-Ebook. The preprocessor has been activated for the associated page.
Following is a simple sample of what I'm trying to accomplish. I have included the Active-Variables only, as these seem to be the trouble makers.
I've set an "alert" to view the processed script. This has been unsuccesful. Activ-EBook's MESSAGEBOX method has also been unsuccessful.
Any help is appreciated.
<html>
<head>
<title></title>
<script language=JavaScript>
var eTitle = [={title}];
var eEsbn = [={esbn}];
var eBookInfo;
eBookInfo = eTitle + eEsbn;
eBookInfo = escape(eBookInfo);
alert(eBookInfo);
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
[={title}][={esbn}]
<h1></h1>
<p>... Type content here!</p>
<hr>
<p><small>Created on ... September 30, 2003</small></p>
</body>
</html>
(Edited by TSEROOGY at 11:16 am on Oct. 1, 2003)
(Edited by TSEROOGY at 11:17 am on Oct. 1, 2003)