Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 19th, 2006, 11:54 PM
Authorized User
Join Date: May 2006
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default multiple select problem

hi check out this code

<select name ="lstDescription" multiple onClick="fnGetSearchResult()">    <option value = 2>test </option>
   <option value = 3>TestOnMay21 </option>
   <option value = 4>testMay21_2 </option>
   <option value = 5>testMay21_3 </option>
now when i click on an option the code in the servlet written as

if(request.getParameter("lstDescription") == null)
  System.out.println("it is null");

works indication that the data does not come, but if the 'onClick' is changed to 'onDblClick()' it works meaning it is not 'null'

could someone clarify this


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple criteria on a select query? jihadbuster XSLT 4 March 19th, 2008 01:52 PM
Multiple select box vinikz Java Databases 1 September 4th, 2007 07:21 AM
Select multiple ranges.... Mats Excel VBA 2 June 9th, 2005 08:01 AM
Select with multiple queries problem djbst84 SQL Language 0 May 21st, 2004 07:58 PM
multiple select--Urgent muralikeane Classic ASP Databases 3 May 12th, 2004 07:00 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.