briintex1
11-10-2005, 05:10 PM
I am new to pearl, and might be getting in to deep. But I was wondering if I have a listbox say something like this
<table align = left>
<select name="select1" size="5" length="3">
<option VALUE="choice1" SELECTED><a href="query.cgi"><li id="query">this</a></li>
<option VALUE="choice2" SELECTED><li id="enter-bug"><a href="enter_bug.cgi">that</a></li>
<option VALUE="choice3" SELECTED><li id="report"><a href="report.cgi">these</a></li><form name="login" action="/index.cgi" method="POST">
<option Value="choice4" SELECTED><li id="account"><a href="createaccount.cgi">those</a></li>
<select>
</table>
and I want to set the item that is selected to goto another page. So for instance
if someone clicks the first choice "This" it takes them to another page, and the same thing should be done for the other choices in the list box. Can this be done with Pearl, if so can someone help me?
THanks
bri
<table align = left>
<select name="select1" size="5" length="3">
<option VALUE="choice1" SELECTED><a href="query.cgi"><li id="query">this</a></li>
<option VALUE="choice2" SELECTED><li id="enter-bug"><a href="enter_bug.cgi">that</a></li>
<option VALUE="choice3" SELECTED><li id="report"><a href="report.cgi">these</a></li><form name="login" action="/index.cgi" method="POST">
<option Value="choice4" SELECTED><li id="account"><a href="createaccount.cgi">those</a></li>
<select>
</table>
and I want to set the item that is selected to goto another page. So for instance
if someone clicks the first choice "This" it takes them to another page, and the same thing should be done for the other choices in the list box. Can this be done with Pearl, if so can someone help me?
THanks
bri