I am using JQuery to read filename selected by the user using val() method and it's working fine but it's breaking on IE. Can someone help?
var filename = $('[type=file]').val().split('\\').pop();
The above is working fine in chrome, safari and Mozilla but not in IE 10.