EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: mapner on July 26, 2012, 08:45:01 AM



Title: Datebox and Masked input
Post by: mapner on July 26, 2012, 08:45:01 AM
Hello:

How to combine datebox with masked input like this:

http://digitalbush.com/projects/masked-input-plugin/

example:

$('#mydate').datebox({  required:true }).mask("99/99/9999",{placeholder:" "});

thanks


Title: Re: Datebox and Masked input
Post by: stworthy on July 26, 2012, 05:13:10 PM
Try the following code:
Code:
$('#mydate').datebox({  required:true }).datebox('textbox').mask("99/99/9999",{placeholder:" "}); 


Title: Re: Datebox and Masked input
Post by: mapner on July 27, 2012, 05:53:09 AM
Work fine!
Thanks