1 / 48
文档名称:

免费jQuery Easyui教程.pdf

格式:pdf   大小:4,999KB   页数:48页
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

免费jQuery Easyui教程.pdf

上传人:cby201601 2023/11/30 文件大小:4.88 MB

下载得到文件列表

免费jQuery Easyui教程.pdf

相关文档

文档介绍

文档介绍:该【免费jQuery Easyui教程 】是由【cby201601】上传分享,文档一共【48】页,该文档可以免费在线阅读,需要了解更多关于【免费jQuery Easyui教程 】的内容,可以使用淘豆网的站内搜索功能,选择自己适合的文档,以下文字是截取该文章内的部分文字,如需要获得完整电子版,请下载此文档到您的设备,方便您编辑和打印。:..jqueryeasyui:..jqueryeasyuiordion .....................................................................................................................................................................................52DateBox............................................................................................................................................................................................................................................................................................................................83ComboBox.............................................................................................................................................................................................................................................................................................................................114Dialog...........................................................................................................................................................................................................................................................................................................................145Messager.........................................................................................................................................................................................!"................................................................186NumberBox#.......................................................................................................................................................................................197ValidateBox$%.....................................................................................................................................................................................................................................................!"...............................................................218Pagination&'.......................................................................................................................................................................................................................................................249Window()........................................................................................................................................................................................................................................................................................................................2710Panel*+............................................................................................................................................................................................................................................................302:..jqueryeasyui................................................................3011Tabs .............................................................................................................................................................................................................................................................................................................................. *+,-.......................................................3412Tree..................................................................................................................................................................................................................................................................................................................................3813Layout/0............................................................................................................................................................................................................................................................4014Datagrid12................................................................................................................................................................................................................................................................................................................................................................................473:..jqueryeasyuiordion( )<html><head><metahttp-equiv="Content-Type"content="text/html;charset=UTF-8'*><title>jQueryEasyUI</title><linkrel="stylesheet"type="text/cssuhref="../themes/default/"><linkrel="stylesheet"type="text/css"href=f,../themes/"><scripttype="text/javaseript"src=,r../jquery-"></scrlpt><scripttype="text/javascript"src="../,rX/script><scripttype="text/javascript">$(function(){$(1#aa*).accordion({width:400,height:200,fit:false})));</script></head><body><divid="aa"border”><div"icon="icon-save"style="overflow:auto;padding:lOpx;"><h3style=°color:^0099FF;0>AccordionforjQuery</h3><p>.</p></div><divtitle="Title2"icon="icon-reload"selected="truer,style="padding:1Opx;,F>content2</div><divtitle="Title3w>content3</div></div></body></html>:..jqueryeasyui!"html56<divid="aa"border-";e">:;<=><divid="aaHclass=Heasyui-accordion"style="width:300px;height:200px;"fit=nfalse',border=nfalsen>,***@OPSTUVWQRwidth# KXYLautoheight# KZYLautoH\] ^_`abcdeMNKfgGhitruefit/[falsejwidthkheightBl7Lborder/[H\*+ *+qr^*+panel,st,-uvwvdiv/ xGy*K,-zH{::OPQRSTUVWselected/[}~ UV"K 'false2DateBox<!DOCTYPEhtmlPUBLIC"-//W3C////EN"“/html4/>5:..jqueryeasyui<html><head><metahttp-equiv="Content-Type"content="text/html;charset=gb2312"><title>jQueryEasyUI</title><linkrel="stylesheet"type=r,text/css"href="G/themes/default/easyui2css"><linkrel="stylesheet"type="text/css"href=n../themes/"><scripttype="text/javascriptnsrc=n../jquery-></script><scripttype=ntext/javascriptnsrc="../></script><script>functiondisable(){$(1#dd*).datebox('disable');}functionenable(){$(*#dd*).datebox('enable');)/*BDate/StringQRG??iStringQR.??StringQRG????iDateQR???KDate,??{8j?D&i0,???G???D&./functionformatDate(v){if(vinstanceofDate){vary=();varm=()+1;vard=();varh=();vari=();vars=();varms=();if(ms>0)returny+'-'+m+'-'+d+'1+h+1:'+i+':'++'.'+ms;if(h>0||i>0||s>0)returny+1-'+m+'-'+d+11+h+1:'+i+':'+returny+1-'+m+,-'+d;}return'1;)6:..jqueryeasyuig(function(){W(*#dd1).datebox({currentText:‘??',closeText:G??'Gdisabled:false,required:true,missingMessage:‘¥|'Gformatter:formatDate!)¨})¨</script></head><body><hl>DateBox</hl><divstyle="margin-bottom:lOpx;"><ahref=,r#"onclick=disable();>disable</a><ahref=,r#"onclick=enable();>enable</a></div><inputid="dd,Fx/input></body></html>,enable2010-6-1V)Jim2010**>STVTFS1234E67891011121314151617181920212223s2528212829307:..jqueryeasyui,-OQRSTUVWcurrentText#??ih???mKàTodaycloseText#??????mKàClosedisabled/[{8itrue?á???falserequired/[uv??H\i¥?falsemissingMessage#??h??i?jKà¥|formatterfunction??èIIKéGê?éb‘date'iG@+A??I?#??parserfunction&?#??KéGê?éb‘datei@?+?I?OSTonSelectdatehìíI?j??OSTdestroynoneD?disablenoneá???.enablenoneò???3ComboBox()<head><metahttp-equiv=^Content-Type"content="text/html;charset=gb2312n><title>jQueryEasyUI</title><linkrel="stylesheetfltype=ntext/css"href=./themes/default/”<linkrel="stylesheet11type=ntext/css"href=n../themes/,><scripttype="text/javascript"src="../jquery-"></script><scripttype=ntext/javascriptr,src="../,/,x/script><script>functionloadData(){g(*#cc1),combobox({url:1comboboxdatajsonI//ó?Mwy*8:..jqueryeasyuivalueField:*id*,textField:'text,})¨)functionsetvalue(){$_(*#cc*).combobox(*setvalue1,'21);)functiongetValue(){varval=$_(*).combobox(fgetValue');alert(val);)functiondisable(){$(*#cc*).combobox(*disable');)functionenable(){$(*#cc*).combobox('enable');)W(function(){(1)Gcombobox({width:150,listwidth:150,listHeight:100,//valuefield:1value,,//textField:'textI//url::false})¨})¨</script></head><body><boBox</hl><divstyle="margin-bottom:1Opx;n><ahref="#"onclick=nloadData(>n>loadData</a><ahref=n#"onclick=nsetValue()">setValue</a><ahr6f="#onclick=HgetValue(),T>getValue</a><ahref=,r#"onclick=ndisable()n>disable</a><ahref="#"onclick=nenable()H>enable</a></div><span>Options:</span><selectid="cc"name="dept"required="trueft><optionvalue="">==?ìí==</option><optionvalue="0"?×8</option?<option">ú?</option?9:..jqueryeasyui<optionvalue="2"</opion><optionvaue="3"></option<optionvalue="4" /option</select></body> :[("idn:l,"textn:ntextr,},{"idn:2,Htextn:ntext2n},{"idn:3,"textn:ntext3H,"selected":true},{"idM:4,"textn:Htext4n},{"idn:5,"textn:Htext5"}]áio:..jqueryeasyui,-OQRSTUVWwidth#KXYautolistWidth#ya?2KXYnulllistHeight#ya?2KZYnullvalueField#????1WOP?u?ê?valuetextField#????1K#èKOP?u?ê?texteditable/[uvH\béê?à?ì?àtrueurl#??í??21K?OSTessnoneh?e1>?í?j??onLoadErrornoneh?e1í?lòj??onSelectrecordh?óìí?I??2?j??onChangenewValue,oldValuehà?#èKW?÷j??OSTselectvalueìíya?2KI?setValueparam}u?uW?à?GbHI?#??G<bHI?JavascriptùG{8HùG¥ú?üy?,-tdvalueFieldkTextField,-LgetValuenone?reloadurl .4Dialog(){<head><metahttp-equiv=Content-Type"content="text/html;charset=gb2312n><title>jQueryEasyUI</title><linkrel="stylesheet"type=ntext/css"href="../themes/default/"><linkrel="stylesheet"type=ntext/css"href=n../themes/"><scripttype=11text/javascriptnsrc="../jquery-,rx/script><scripttype="text/javascript"src="../"></script><script>$(function(){11:..jqueryeasyui$(.dialog({title:,Icollapsible:true,minimizable:true,maximizable:true,resizable:true,toolbar:[{text:'Add',iconCls:'icon-add,,handler:function(){alert(*add,);}},{text:'Save*,iconCls:'icon-save,,handler:function(){alert('save');}}],buttons:[{text:'Ok',iconCls:'icon-ok'zhandler:function(){alert(1ok');)},{text:fCancel',handler:function(){W('#dd').dialog(1close1;)}]})!!)!functionopenl(){W(*#dd1).dialog(1open');)functionclosel(){_$(1#dd*).dialog(1closeT);)</script>#/head%<body><hl>Dialog</hl>12:..jqueryeasyui<divstyle="margin-bottom:1Opx;"><=,r#"onclick=Hopenl()n>openl</a><ahref=,r#"onclick=Hclosel()n>closel</a></div><divid="ddnicon="icon-save"style="padding:5px;width:400px;height:200px;"><p>dialogcontent.</p><p>dialogcontent.</p><p>dialogcontent.</p><p>dialogcontent.</p><p>dialogcontent.</p><p>dialogcontent.</p><p>dialogcontent.</p><p>dialogcontent.</p></div></body>&'()*+,-./012title345678NewDialogcollapsible9:;<=>?***@ABCDEfalseminimizable9:;<=>?***@FGHDEfalsemaximizable9:;<=>?***@FIHDEfalseresizable9:;<=>AJKIGfalsetoolbarLM5NOPQRNOPSTUtext,iconCls,disabled,VW5DEQRDESTUtext,13:ThedocumentwascreatedwithSpir