September 2003
Intermediate to advanced
944 pages
33h 46m
English
The next DOM interface that we want to talk about is the select box interface. It can be used to access a select box. Select box, sometimes called combo box, is defined in HTML/XHTML specifications as an independent element. To generate a select box, the <select> element is used. A typical example to generate a select box is shown in ex10-08.htm.
1: <?xml version="1.0" encoding="iso-8859–1"?> 2: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 3: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 5: <style> 6: .selSt{width:280px;height:35px;background:#aaffaa; ... |
Read now
Unlock full access