Skip to content

Changes to DOM

Mithgol edited this page · 4 revisions
Clone this wiki locally
Clone in Desktop

The following changes to DOM is made to support native applications better:

Only Node frames can do this. Normal frames still follow the W3C standard. For definition of Node frames and Normal frames, see Security

setting value of file input element

var f = new File('/path/to/file', 'name');
var files = new FileList();
files.append(f);
document.getElementById('input0').files = files;
Something went wrong with that request. Please try again.