?? form, validation, specialized input the dojo toolkit.mht
字號:
></A></TD>
<TD class=3Dget align=3Dright><A title=3D"View: textbox.png"=20
href=3D"http://www.dojotoolkit.org/files/textbox_0.png"><IMG =
class=3Dinline=20
title=3Dtextbox.png alt=3Dtextbox.png=20
=
src=3D"http://www.dojotoolkit.org/files/textbox_0.png"></A></TD></TR>
<TR class=3Dodd>
<TD class=3Ddescription width=3D200><A=20
=
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-valid=
ation-specialized-input/textbox-validating-currency-number"><B>TimeTextBo=
x</B></A></TD>
<TD class=3Dget align=3Dright><A title=3D"View: time_textbox.png"=20
href=3D"http://www.dojotoolkit.org/files/time_textbox_1.png"><IMG=20
class=3Dinline title=3Dtime_textbox.png alt=3Dtime_textbox.png=20
=
src=3D"http://www.dojotoolkit.org/files/time_textbox_1.png"></A></TD></TR=
>
<TR class=3Deven>
<TD class=3Ddescription width=3D200><A=20
=
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-valid=
ation-specialized-input/textbox-validating-currency-number"><B>Validation=
TextBox</B></A></TD>
<TD class=3Dget align=3Dright><A title=3D"View: =
validating_textbox.png"=20
=
href=3D"http://www.dojotoolkit.org/files/validating_textbox_1.png"><IMG=20
class=3Dinline title=3Dvalidating_textbox.png =
alt=3Dvalidating_textbox.png=20
=
src=3D"http://www.dojotoolkit.org/files/validating_textbox_1.png"></A></T=
D></TR></TBODY></TABLE>
<DIV class=3Dbook-navigation>
<UL class=3Dmenu>
<LI class=3Dleaf><A=20
=
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-valid=
ation-specialized-input/form-widget">Form=20
Widget</A>
<LI class=3Dleaf><A=20
=
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-valid=
ation-specialized-input/checkbox-radiobutton">CheckBox,=20
RadioButton, ToggleButton</A>
<LI class=3Dleaf><A=20
=
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-valid=
ation-specialized-input/auto-completer">ComboBox</A>
<LI class=3Dleaf><A=20
=
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-valid=
ation-specialized-input/select">FilteringSelect</A>
<LI class=3Dleaf><A=20
=
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-valid=
ation-specialized-input/inline-edit-box">InlineEditBox=20
(0.9)</A>
<LI class=3Dleaf><A=20
=
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-valid=
ation-specialized-input/number-spinner">NumberSpinner</A>
<LI class=3Dleaf><A=20
=
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-valid=
ation-specialized-input/slider">Slider</A>
<LI class=3Dleaf><A=20
=
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-valid=
ation-specialized-input/resizeable-text-area">Textarea</A>
<LI class=3Dleaf><A=20
=
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-valid=
ation-specialized-input/textbox-validating-currency-number">TextBox=20
family: Validation, Currency, Number, Date, Time</A></LI></UL>
<DIV class=3D"page-links clear-block"><A class=3Dpage-previous=20
title=3D"Go to previous page"=20
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/common-att=
ributes">=E2=80=B9=20
Common Features</A><A class=3Dpage-up title=3D"Go to parent page"=20
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit-0">up</A><=
A=20
class=3Dpage-next title=3D"Go to next page"=20
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-valid=
ation-specialized-input/form-widget">Form=20
Widget =E2=80=BA</A></DIV></DIV></DIV>
<DIV class=3Dlinks>
<UL class=3D"links inline">
<LI class=3D"first book_printer"><A class=3Dbook_printer=20
title=3D"Show a printer-friendly version of this book page and its =
sub-pages."=20
href=3D"http://dojotoolkit.org/book/export/html/684">Printer-friendly=20
version</A>=20
<LI class=3Dcomment_forbidden><SPAN class=3Dcomment_forbidden><A=20
=
href=3D"http://dojotoolkit.org/user/login?destination=3Dnode/684%2523comm=
ent-form">Login</A>=20
or <A=20
=
href=3D"http://dojotoolkit.org/user/register?destination=3Dnode/684%2523c=
omment-form">register</A>=20
to post comments</SPAN>=20
<LI class=3D"last subscriptions_add_node"><A =
class=3Dsubscriptions_add_node=20
title=3D"Receive an e-mail whenever a comment is posted to this Book =
page."=20
href=3D"http://dojotoolkit.org/subscriptions/add/node/684">Subscribe =
post</A>=20
</LI></UL></DIV></DIV>
<DIV id=3Dcomments><A id=3Dcomment-5714></A>
<DIV class=3Dcomment>
<H3 class=3Dtitle><A class=3Dactive=20
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-valid=
ation-specialized-input#comment-5714">name=20
attribute neglected</A></H3>
<DIV class=3Dsubmitted>Submitted by Arlo on Thu, 09/06/2007 - =
18:14.</DIV>
<DIV class=3Dcontent>
<P>The name attribute isn't mentioned above. Also, =
alt,id,value,baseClass, and=20
type aren't listed.</P></DIV>
<DIV class=3Dlinks>
<UL class=3Dlinks>
<LI class=3D"first last comment_forbidden"><SPAN =
class=3Dcomment_forbidden><A=20
=
href=3D"http://dojotoolkit.org/user/login?destination=3Dnode/684%2523comm=
ent-form">Login</A>=20
or <A=20
=
href=3D"http://dojotoolkit.org/user/register?destination=3Dnode/684%2523c=
omment-form">register</A>=20
to post comments</SPAN> </LI></UL></DIV></DIV>
<DIV class=3Dindented><A id=3Dcomment-5867></A>
<DIV class=3Dcomment>
<H3 class=3Dtitle><A class=3Dactive=20
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-valid=
ation-specialized-input#comment-5867">Not=20
Neglected So Much As...</A></H3>
<DIV class=3Dsubmitted>Submitted by criecke on Mon, 09/10/2007 - =
23:56.</DIV>
<DIV class=3Dcontent>
<P>... unnecessary. All of these except baseClass are HTML attributes, =
and using=20
them does not cause any unexpected behavior. Id is a special case =
covered by the=20
Common Features page. And baseClass should not be set by Dijit =
users.</P></DIV>
<DIV class=3Dlinks>
<UL class=3Dlinks>
<LI class=3D"first last comment_forbidden"><SPAN =
class=3Dcomment_forbidden><A=20
=
href=3D"http://dojotoolkit.org/user/login?destination=3Dnode/684%2523comm=
ent-form">Login</A>=20
or <A=20
=
href=3D"http://dojotoolkit.org/user/register?destination=3Dnode/684%2523c=
omment-form">register</A>=20
to post comments</SPAN> </LI></UL></DIV></DIV></DIV><A =
id=3Dcomment-6701></A>
<DIV class=3Dcomment>
<H3 class=3Dtitle><A class=3Dactive=20
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/form-valid=
ation-specialized-input#comment-6701">DateTextBox=20
getValue and setValue not valid 0.9 methods?</A></H3>
<DIV class=3Dsubmitted>Submitted by gsl1 on Sun, 09/30/2007 - =
03:42.</DIV>
<DIV class=3Dcontent>
<P>From what I can tell from the following:</P>
<P><A=20
title=3Dhttp://dojotoolkit.org/book/dojo-porting-guide-0-4-x-0-9/widgets/=
datepicker=20
href=3D"http://dojotoolkit.org/book/dojo-porting-guide-0-4-x-0-9/widgets/=
datepicker">http://dojotoolkit.org/book/dojo-porting-guide-0-4-x-0-9/widg=
ets/datepicker</A></P>
<P>getValue and setValue are not valid methods for the DateTextBox =
anymore. This=20
also seems to be true for the ColorPallete as well based on:</P>
<P><A=20
title=3Dhttp://dojotoolkit.org/book/dojo-porting-guide-0-4-x-0-9/widgets/=
colorpalette=20
href=3D"http://dojotoolkit.org/book/dojo-porting-guide-0-4-x-0-9/widgets/=
colorpalette">http://dojotoolkit.org/book/dojo-porting-guide-0-4-x-0-9/wi=
dgets/colorpalette</A></P>
<P>Although, it is not as definitive for this widget based on the =
information=20
provided at the above link.</P>
<P>So the above description of methods is somewhat confusing, since it =
seems to=20
imply that these two methods apply to <B><EM>all</EM></B> dijit.form=20
widgets.</P>
<P>-=3D> Gregg <=3D-</P></DIV>
<DIV class=3Dlinks>
<UL class=3Dlinks>
<LI class=3D"first last comment_forbidden"><SPAN =
class=3Dcomment_forbidden><A=20
=
href=3D"http://dojotoolkit.org/user/login?destination=3Dnode/684%2523comm=
ent-form">Login</A>=20
or <A=20
=
href=3D"http://dojotoolkit.org/user/register?destination=3Dnode/684%2523c=
omment-form">register</A>=20
to post comments</SPAN> </LI></UL></DIV></DIV></DIV><!-- /main_content =
region --></DIV></DIV>
<DIV class=3D"col-c content-region-container">
<DIV id=3Dsidebar-right-container></DIV></DIV><BR class=3Dclear></DIV>
<DIV class=3Dcols-a50b50 id=3Dafter-content-block>
<DIV class=3D"col-a content-region-container" =
id=3Dafter-content-block-1></DIV>
<DIV class=3D"col-b content-region-container" =
id=3Dafter-content-block-2><BR=20
class=3Dclear></DIV><BR class=3Dclear></DIV><BR clear=3Dall></DIV>
<DIV class=3Dcontent-region-container>
<DIV id=3Dnavigation-block>
<DIV id=3Dbreadcrumb-block>
<DIV id=3Dbreadcrumbs>
<DIV class=3Dbreadcrumb><A href=3D"http://dojotoolkit.org/">Home</A> =
=C2=BB <A=20
href=3D"http://dojotoolkit.org/book/dojo-book-0-9-0">The Book of =
Dojo</A> =C2=BB <A=20
href=3D"http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit-0">Part =
2:=20
Dijit</A> =C2=BB Form, Validation, Specialized Input</DIV></DIV></DIV>
<DIV class=3Dcols-abcd id=3Dmain-menu-block><!-- Block: menu -->
<DIV class=3D"block block-menu" id=3Dblock-menu-573>
<DIV class=3Dcontent>
<UL class=3Dmenu>
<LI class=3Dleaf id=3Dmenu-item-574><A title=3D"See the Dojo Toolkit =
in action!"=20
href=3D"http://dojotoolkit.org/demos">Demos</A>=20
<LI class=3Dexpanded id=3Dmenu-item-575><A=20
title=3D"Get started with the Dojo Toolkit, fast"=20
href=3D"http://dojotoolkit.org/docs/quickstart">Quick Start</A>=20
<UL class=3Dmenu>
<LI class=3Dleaf id=3Dmenu-item-576><A title=3D"Get the toolkit"=20
href=3D"http://dojotoolkit.org/downloads">Downloads</A>=20
<LI class=3Dleaf id=3Dmenu-item-577><A title=3D"See examples of the =
Dojo Toolkit"=20
href=3D"http://dojotoolkit.org/demos">Examples</A>=20
<LI class=3Dleaf id=3Dmenu-item-639><A=20
href=3D"http://dojotoolkit.org/spotlight">Spotlight</A> </LI></UL>
<LI class=3Dexpanded id=3Dmenu-item-578><A=20
href=3D"http://dojotoolkit.org/about">About</A>=20
<UL class=3Dmenu>
<LI class=3Dleaf id=3Dmenu-item-579><A=20
href=3D"http://dojotoolkit.org/about">Overview</A>=20
<LI class=3Dleaf id=3Dmenu-item-580><A=20
href=3D"http://dojotoolkit.org/about/features">Features</A>=20
<LI class=3Dleaf id=3Dmenu-item-581><A=20
href=3D"http://dojotoolkit.org/about/press">Press</A>=20
<LI class=3Dleaf id=3Dmenu-item-582><A=20
href=3D"http://dojotoolkit.org/about/contact">Contact</A>=20
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -