Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

How to get the object of the file imput element

Hi
I need to get the object of the input component of file type and not the value.

With the input in HTML this code works.
var fileChooser = document.getElementById('file-chooser');

This returns the file object.
But I want use the Appery input component outside of HTML

I tried this code but it does not work.
var fileChooser = Apperyio("file-chooser");
Thank you

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

How to get the object of the file imput element

Hello Deon,

Please clarify, what do you mean with "use the Appery input component outside of HTML"? Where is it located?

Return to “Issues”