Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('.hidFileBtn').live('change', function(e){
- $childImg = $(this).closest('.parent').find('img.previewImg');
- var FileName = $(this).val();
- console.log(FileName + "-" + $(this)[0].value);
- $childImg[0].src = $(this).val();
- });
Add Comment
Please, Sign In to add comment