Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $( '.fileContainer [type=file]' ).on( 'click', function updateFileName( event ){
- var $input = $( this );
- setTimeout( function delayResolution(){
- $input.parent().text( $input.val().replace(/([^\\]*\\)*/,'') )
- }, 0 )
- } );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement