I used the following methode
HTML
JavaScript
IE up to version 9 does not support the file API which is needed to get the file size. IE10 does not support file size.