I just want to give an update if anyone is following this thread. I found the answer:
Code:
function go1(identity,keyword)
{
url = 'showversea.asp?id=' + identity + '&keyword=' + keyword
//alert(bookSelect.action);
//bookSelect.submit();
alert(url);
ifrVerse.location = url;
}
//-->
The problem was this:
I have set an alert. It said:
But when the iFrame opens it writes only this in the URL.
The second URL shows what the select name "id" is picking up "15418" from the option value. But it fails to pick up the "keyword" <%=Keyword%>. The page of dropdown is ASP-generated, in other words the ASP builds the dropdown from the result of the database table. Here is the section of the source:
Code:
<script language="JavaScript" type="text/javascript">
<!--
function go1(identity,keyword)
{
document.forms['bookSelect'].action = 'showversea.asp?id=' + identity + '&keyword=' + keyword
alert(bookSelect.action);
bookSelect.submit();
}
//-->
</script>
And
Code:
<form name="bookSelect" action="showversea.asp" method="get" target="ifrVerse">
<select name="id" size="10" style="width:200;" onchange="go1(document.forms['bookSelect'].id[document.forms['bookSelect'].id.selectedIndex].value,'brutish');">
<option value="14659">Psalms 49:10</option>
<option value="15418">Psalms 92:6</option>
<option value="15440">Psalms 94:8</option>
<option value="16721">Proverbs 12:1</option>
<option value="17254">Proverbs 30:2</option>
<option value="18016">Isaiah 19:11</option>
<option value="19210">Jeremiah 10:8</option>
<option value="19216">Jeremiah 10:14</option>
<option value="19223">Jeremiah 10:21</option>
<option value="20230">Jeremiah 51:17</option>
<option value="20976">Ezekiel 21:31</option>
</select>
To check it out use Internet Explorer:
http://i.domaindlx.com/wheelofgod/kj...s&optAction=on
Martial Law 9/11 Rise of the Police State is now available! Visit our Martial Law movie section for complete info (click here), or order now by clicking the button below or by calling 888-253-3139
http://www.infowars.com/martial_law_911.htm