huakaiwuxing 2014-04-01
Eric Meyer html, body, div, span,applet, object, iframe, table, caption, tbody, tfoot, thead, tr,th, td, del, dfn, em, font, img, ins, kbd, q, s, samp, small,strike, strong, sub, sup, tt, var, h1, h2, h3, h4, h5, h6,p, blockquote, pre, a, abbr, acronym, address, big,cite, code, dl, dt, dd, ol, ul, li, fieldset, form, label,legend { vertical-align: baselinebaseline; font-family: inherit; font-weight: inherit; font-style: inherit; font-size: 100%; outline: 0; padding: 0; margin: 0; border: 0; } :focus { outline: 0; } body { background: white; line-height: 1; color: black; } ol, ul { list-style: none; } table { border-collapse: separate; border-spacing: 0; } caption, th, td { font-weight: normal; text-align: left; } blockquote:before,blockquote:after, q:before, q:after { content: ""; } blockquote, q { quotes: "" ""; }
在jquery easyui表单中 尚未提供表单重置的功能,这就需要自己对其进行扩展。需要对其添加reset方法,reset方法就是把初始化的值赋值给当前的组件,这就需要在组件的初始化时将值保存下来。