EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: zhangatjlu on September 27, 2015, 01:36:12 AM



Title: How to set the accept property on filebox
Post by: zhangatjlu on September 27, 2015, 01:36:12 AM
How to set the accept property on filebox?


Title: Re: How to set the accept property on filebox
Post by: stworthy on September 27, 2015, 06:20:10 PM
Please try this:
Code:
var f = $('#f1').next().find('.textbox-value');
f.attr('accept', 'image/*');


Title: Re: How to set the accept property on filebox
Post by: zhangatjlu on September 27, 2015, 07:41:43 PM
Thanks for reply.  :)