I have the following code that is NOT doing what I want it to do. I want to be able to pick up the correct value of selected items and then go to the http://oldbob.eng.filenet.com:8080/IM, with the prodcode value equals to DW or IM or FN, etc... I kept getting prodcode=this.value how do make prodcode=DW or procode=IM depending on the selected value? Thanks in advance for your help. ============================================================================ =================== <form myname> <table border =0 align left width=80% cellborder=100><tr><td><b> Product Code</b></td><td><b> Subsystem</b></td><td><b> Release #</b></td><td><b> Platform</b></td></tr><tr><td> <select name=prodcode onChange=validateInput(this.value)> <option value= DW>Doc Warehousing <option value= IM>Image Services (IS) <option value= FN>Panagon Capture <option value= RM>Report Manager <option value= WX>WorkFlo/Fax <option value= WP>WorkFlo/Print <option value= WS>WorkFlo/Scan </select></td><td> <script type="text/javascript" language="JavaScript"> function validateInput() { prodcode = new String() userInput = new String() userInput = this.value location.href='http://oldbob.eng.filenet.com:8080/servlet/IM?prodcode='this. value } </script> ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
