473,804 Members | 2,747 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What is the difference between a List Box and Combo Box?

dmjpro
2,476 Top Contributor
at first let me clearify ....
these (Combo BOX + List BOX) r two different components in html page?????

i know how to develope combo box... but list boxxxxxx??????

plz help me .......thanxxx in advance
Apr 6 '07 #1
3 43385
AricC
1,892 Recognized Expert Top Contributor
at first let me clearify ....
these (Combo BOX + List BOX) r two different components in html page?????

i know how to develope combo box... but list boxxxxxx??????

plz help me .......thanxxx in advance
DMJ,
I edited your thread title to be more descriptive. Also, I've put together an example to show you the difference, essentially you use the same tag.
[html]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>List Box/Combo Box Example</title>
<style type="text/css">

</head>
<body>
<h1>List Box</h1>
<select size="4">
<option>Item 1</option>
<option>Item 2</option>
<option>Item 3</option>
<option>Item 4</option>
<option>Item 5</option>
<option>Item 6</option>
<option>Item 7</option>
<option>Item 8</option>
<option>Item 9</option>
</select>
<br />
<h1>Combo Box</h1>
<select size="1">
<option>Item 1</option>
<option>Item 2</option>
<option>Item 3</option>
<option>Item 4</option>
<option>Item 5</option>
<option>Item 6</option>
<option>Item 7</option>
<option>Item 8</option>
<option>Item 9</option>
</select>
</body>
</html>
[/html]
Apr 6 '07 #2
KevinADC
4,059 Recognized Expert Specialist
AricC probably figured out your question, but it's confusing because list box and combo box are not html form widgets at all, they are sort of slang terms used to describe the SELECT widget, or select menu. The attribute that allows a user to select more than one thing from the list is MULTIPLE

<select size=3 multiple>

but the sever side form processing script has to be able to process multi-valued form field data, other wise you get only one value anyway. Most good form processor scripts know how to do that, but if you are writing your own script you need to be aware of that.
Apr 6 '07 #3
dmjpro
2,476 Top Contributor
both of u thanxxxx
Apr 7 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
3670
by: diadia | last post by:
string s = "hello"; const char *p = s.begin(); cout << p << endl; // print hello s = ""; char *p2= s.begin(); cout << p2 << endl; // print hello why?????
2
1551
by: Kazza | last post by:
Hi I have finally figured out how to do a combo 'not on list' field- perfect now i can scoll down to see all the students names and add new ones. One tiny problem, the students names now do not match with their other details, courses, personal addresses etc. What can i do to keep the 'not on list' function, but also get it to match the students details when i click on a name? Help please with easy to read answers - new to access :-)
5
10442
by: bhushanbagul | last post by:
Hi All Please let me know exactly what difference i and g makes in oracle version i.e. when we say oracle 10g or oracle 11i Thanks Bhushan
1
1759
by: Nestor01 | last post by:
I use a lookup table which contacts 2 fields (item#, name) When a customer places an order, the order form contains a drop down to select the item by name (from the lookup table). The detail is stored by item # in a customer order table. The form displays the name, but is column bound to the item#. When I want to create a report or form showing what the customer has ordered, I would like to display the name in a textbox control, but the...
11
3100
by: mezmerize | last post by:
Firstly a description of the situation to give you an insight. have a table of motorcycles (Registration no.,makes,models,colour,no.owners, etc. and i would like to be able to run a query that allowed me to view only bikes of one make. i would like to know if there is way of making the parameter prompt a list/combo box contain the values within the motorcycles table so only motorcycle makes within the table can be queried (searched). ive...
1
1109
by: gosens | last post by:
Hello, I am hoping some one could help me out with the code for this one. Basically what i am trying to do is for a simple cash register system give a person the ability to enter a barcode number and hit search which then locates the record in my Inventory table in my MySQL Database and then updates the following text boxes with the information associated with that barcode (Model, Manufacturer, Price, and Description). Thanks
1
1412
by: gosens | last post by:
Hello, I am hoping some one could help me out with the code for this one. Basically what i am trying to do is for a simple cash register system give a person the ability to enter a barcode number and hit search which then locates the record in my Inventory table in my MySQL Database and then updates the following text boxes with the information associated with that barcode (Model, Manufacturer, Price, and Description). Thanks
0
1050
by: gosens | last post by:
Hello, I am hoping some one could help me out with the code for this one. Basically what i am trying to do is for a simple cash register system give a person the ability to enter a barcode number and hit search which then locates the record in my Inventory table in my SQL Server Database and then updates the following text boxes with the information associated with that barcode (Model, Manufacturer, Price, and Description). Thanks
8
10916
by: limperger | last post by:
Hi everyone! What about this situation? In a shared database, where people works with form, having these list boxes, imagine that 2 users enter data for the, say, same costumer, who was not in a table until then and, therefore, was not displayed in the list box when opened. You could eliminate the duplicate entry with the find duplicates wizard, but imagine that there is a type-error and the 2 entries are slightly different. I presume that...
10
12352
by: Tim Mullin | last post by:
Hello all, Sorry if this question appears a lot, I've looked all over the internet and can't find a single solution that works. I would like to add an "All" option to a list box (and a combo box, but I'm assuming the coding is similar enough for me to modify, if needed) that when selected and a query is run based off the selection it returns records that match all of the options in said list. The code I have right now is: SELECT ....
0
9711
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9591
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10087
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9166
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7631
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5529
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4306
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.