<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I've implemented the following popup menu via the 
Perl CGI:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>$cgi-&gt; 
  popup_menu<BR>(<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  -name=&gt;'ap_name',<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  -values=&gt;\@ap_names,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  -labels=&gt;\%ap_labels,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  -size=&gt;'8',<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  -onclick=&gt;"set_apx( )",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  -language=&gt;"javascript"<BR>),<BR></FONT></FONT></DIV></BLOCKQUOTE>
<DIV dir=ltr><FONT face=Arial size=2><FONT face="Times New Roman" size=3><FONT 
face=Arial size=2>This is the <FONT face="Times New Roman MT Extra Bold" 
size=3>set_apx( )</FONT> function that executes with the&nbsp;"onclick" action 
:</FONT></FONT></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV dir=ltr><FONT face=Arial size=2><FONT face="Times New Roman" size=3><FONT 
  face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT face=Arial 
  size=2></FONT><FONT face=Arial size=2></FONT><BR>qq(&lt;script 
  language="javascript"&gt;&lt;!--<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  function set_apx( ) 
  {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  var 
  ap_name;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ap_name=apps_menu['ap_name'].value;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  alert(ap_name); // Temp!&nbsp; display the 
  ap_name.<BR>//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  document.apps_menu.action=apps_menu['ap_name'].value;<BR>//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  document.apps_menu.action=ap_name;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ap_name.submit( );<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>// 
  --&gt;&lt;/script&gt;),</FONT></DIV></BLOCKQUOTE></FONT>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Either of the two commented-out lines (as I 
understand and expected) should accomplish the same result&nbsp;with JavaScript 
executing, branching, or otherwise transfering (. . .whatever) to the URL; 
however, nothing (other than the alert) appears to happen when a row is 
clicked.&nbsp; When&nbsp;a popup menu row is clicked, with the submit function 
call enabled (as shown above), MS/IE returns the following message (I guess I 
understand this because from what I've read, submit( ) is associated with a 
document's internal forms, rather than an external&nbsp;URL ?):</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Error:&nbsp; Object doesn't support this property or method.</FONT></DIV>
<DIV>&nbsp;</DIV></FONT></DIV>
<DIV><FONT face=Arial size=2>The value of the variable, <FONT 
face="Times New Roman" size=3><STRONG>ap_name</STRONG></FONT>, is correct (per 
the alert display).&nbsp; This application name is the URL that I want to 
execute (publish, . . .whatever).&nbsp; I have tried so many things to start the 
URL.&nbsp; What should I be thinking or reading?&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Should I expect the JavaScript&nbsp;instruction, 
<FONT face="Times New Roman" size=3>document.apps_menu.action=ap_name; </FONT>, 
to branch to&nbsp;another URL?&nbsp; I guess I need to see an 
example.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>OTTF,<BR>Ron Wingfield</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=1>FreeBSD 4.8&nbsp; --&nbsp; Apache http 2.0.28 -- 
MySQL client/server 4.1.7<BR>Perl 5.8.5 -- p5-DBD-mysql-2.9004 driver -- 
p5-DBI-1.46</FONT></DIV>
<DIV>
<HR>
&nbsp;</DIV></BODY></HTML>