hlfsunshine 2012-07-04
base.css
重新定义HTML标签的默认样式!!!!
body, h1, h2, h3, h4, h5, h6, blockquote, p, pre, dl, dd, menu, ol, ul, caption, th, td, form, fieldset, legend, input, button, textarea { margin: 0; padding: 0; } h1,h2, h3, h4, h5, h6 {font-size:100%; } menu, ol, ul { list-style: none; } table { border-collapse: collapse; border-spacing: 0; } fieldset, img { border: 0; } address, cite, dfn, em, var { font-style: normal; } code, kbd, pre, samp { font-family: 'courier new',courier,monospace; } input, button, textarea, select { font-size: 100%; } abbr[title] { border-bottom: 1px dotted; cursor: help; } a { outline: none; text-decoration: none; } body, input, button, textarea, select, option, optgroup { font: 12px/1 arial, \5b8b\4f53, sans-serif; }
在jquery easyui表单中 尚未提供表单重置的功能,这就需要自己对其进行扩展。需要对其添加reset方法,reset方法就是把初始化的值赋值给当前的组件,这就需要在组件的初始化时将值保存下来。