Originally Posted by Philip M
The accept attribute is not supported in Internet Explorer and Safari. That makes it pretty useless.
certainly simpler than jQuery.
( this.files &&
!this.files.type.match("image/*") ) ||
this.value=''; } '