EasyUI Forum
April 26, 2024, 07:09:24 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [SOLVED] Get extension file easyui filebox  (Read 8772 times)
neos
Newbie
*
Posts: 31


View Profile
« on: October 09, 2016, 10:48:59 PM »

Dear All,

How to get file format or extension in Filebox ?
I want to limit extension for upload from filebox (just *.jpg)?

Regards,

Neos
« Last Edit: October 10, 2016, 04:09:14 AM by neos » Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: October 10, 2016, 12:22:59 AM »

Please set the 'accept' property to 'image/jpeg'.
Logged
neos
Newbie
*
Posts: 31


View Profile
« Reply #2 on: October 10, 2016, 04:08:59 AM »

Thx stworthy..works..
i can use other format from MIME.
Thx..
« Last Edit: October 10, 2016, 04:27:22 AM by neos » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!