Easyui Time control is set to empty--jquery-easyui-1.3.3 (this version has not yet buttons, many blog posts on the Web are 1.3.5 versions later)

Source: Internet
Author: User

Change the source jquery.easyui.min.js 11358 lines:

var _858=$ ("<Divclass=\ "datebox-button\"></Div>"). AppendTo (_856); $ ("<ahref=\ "javascript:void (0) \"class=\ "datebox-current\"></a>"). HTML (opts.currenttext). AppendTo (_858); $(" <a  href=\ "javascript:void (0) \"  class=\ " Datebox-clean\ "></a>  "). HTML (opts.cleantext). AppendTo (_858); $("<ahref=\ "javascript:void (0) \"class=\ "datebox-close\"></a>"). HTML (opts.closetext). AppendTo (_858); _858.find (". Datebox-current,.datebox-clean,.datebox-close "). Hover ( Function () {$ (this). addclass ("Datebox-button-hover"),},function () {$ (this). Removeclass ("Datebox-button-hover");}); _858.find (". Datebox-current"). Click (function () {_854.calendar.calendar ({year:new Date (). getFullYear (), month:new Date (). GetMonth () +1,current:new date ()});  _858.find (". Datebox-clean"). Click (function () {//clean--new empty $ (_853). Combo (' SetText ', '); $ (_853). Combo (' SetValue ', '); $ (_853). Combo ("Hidepanel");}); _858.find (". Datebox-close"). Click (function () {$ (_853). Combo ("Hidepanel") ;});};};

Jquery.easyui.min.js 11441 Lines:

}},currenttext: "Today", Cleantext: "Clean", Closetext: "Close", Oktext: "OK", formatter:function (date) {

Change easyui-lang-zh_cn.js,41 line Increase: $.fn.datebox.defaults.cleantext = ' empty ';

Complete.

The

Easyui time control is set to empty--jquery-easyui-1.3.3 (this version has not been buttons, many posts on the Web are 1.3.5 later)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.