EasyUI Forum
December 01, 2025, 08:46:52 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Filebox open by another button, link, etc.  (Read 9949 times)
sky-t
Full Member
***
Posts: 145


View Profile
« on: August 23, 2017, 08:52:47 AM »

Hi there,
is there a possibility to simulate the click on filebox which opens the choose file dialog with another link, button, etc.?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: August 24, 2017, 12:16:20 AM »

Please try this code:
Code:
var fileId = $('#f1').filebox('options').fileboxId;
$('#'+fileId)[0].click();
Logged
sky-t
Full Member
***
Posts: 145


View Profile
« Reply #2 on: August 24, 2017, 02:42:41 AM »

Hi stworthy,

this works fine - thanks a lot!!
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!