This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
IDE currently doesn't have a HTML 5 File API autocomplit for Javascript. Try this code for autocoplit. function handleFileSelect(evt) { var files = evt.target.files; // !!! MISSING AUTOCOMPLIT FOR files[] array only 'freeze()' present for autocomplit purposes // files is a FileList of File objects. List some properties. var output = []; for (var i = 0, f; f = files[i]; i++) { output.push('<li><strong>', f.name, '</strong> (', f.type || 'n/a', ') - ', f.size, ' bytes, last modified: ', f.lastModifiedDate ? f.lastModifiedDate.toLocaleDateString() : 'n/a', '</li>'); } document.getElementById('list').innerHTML = '<ul>' + output.join('') + '</ul>'; } document.getElementById('files').addEventListener('change', handleFileSelect, false);
HTML 5 File API is here http://www.w3.org/TR/FileAPI/
Ok, firstly we are missing the documentation for these objects, reassigning for now.