<script type="text/javascript" src="dojo-0.4/dojo.js"></script><script type="text/javascript"> dojo.require("dojo.widget.ComboBox"); </script>This is a combobox that will auto-complete the user's input by querying the server dynamically based on the letters the user has already typed. Try starting to type the name of one of the 50 American states, like California, Alabama, etc.
<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>
< html xmlns ="http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv ="Content-Type" content ="text/html; charset=gb2312" />
< title > 无标题文档 </ title >
< script type ="text/javascript" src ="dojo-0.4/dojo.js" ></ script >
< script type ="text/javascript" > ...
dojo.require("dojo.widget.ComboBox");
</ script >
</ head >
< body >
This is a combobox that will auto-complete the user's input by querying the server dynamically
based on the letters the user has already typed.
< select dojoType ="ComboBox" value ="this should never be seen - it is replaced!"
dataUrl ="dojo-0.4/comboBoxData.js" style ="width: 300px;" name ="foo.bar1" maxListLength ="15" >
</ select >
Try starting to type the name of one of the 50 American states, like California, Alabama, etc.
</ body >
</ html >
< html xmlns ="http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv ="Content-Type" content ="text/html; charset=gb2312" />
< title > 无标题文档 </ title >
< script type ="text/javascript" src ="dojo-0.4/dojo.js" ></ script >
< script type ="text/javascript" > ...
dojo.require("dojo.widget.ComboBox");
</ script >
</ head >
< body >
This is a combobox that will auto-complete the user's input by querying the server dynamically
based on the letters the user has already typed.
< select dojoType ="ComboBox" value ="this should never be seen - it is replaced!"
dataUrl ="dojo-0.4/comboBoxData.js" style ="width: 300px;" name ="foo.bar1" maxListLength ="15" >
</ select >
Try starting to type the name of one of the 50 American states, like California, Alabama, etc.
</ body >
</ html >