Jump to content

Upload Folder..


tedeski

Recommended Posts

I already searched the forum and I did not find upload by folder ... I only found an option in html5 but I do not know how to apply in unigui.

 

 

<p>Directory: <input type="file" webkitdirectory mozdirectory /></p>

Is there any how ? to apply this action to button for example?

Link to comment
Share on other sites

  • 1 year later...
On 11/25/2018 at 5:03 PM, tedeski said:

I already searched the forum and I did not find upload by folder ... I only found an option in html5 but I do not know how to apply in unigui.

 

 


<p>Directory: <input type="file" webkitdirectory mozdirectory /></p>

Is there any how ? to apply this action to button for example?

UniSession.AddJS('document.body.innerHTML += ''<p>Directory: <input type="file" webkitdirectory mozdirectory /></p>''');

It creates the component by HTML, but you will need some css for make it appears when you need.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...