Mohsin Khan
Mohsin Khan
Hello all I am facing a problem while doing this:- I have a browse button and I have written a function on its change and as soon as the user...
Here is the complete code :-: ``` /*function to browse image from the upload file button show default*/ $(".browseImage .input-group-btn").change(function(event){ event.preventDefault(); if(openEventPictureModal) { tmppath = URL.createObjectURL(event.target.files[0]); load_picture_modal(); } else document.getElementById("uploadFile").value...
Now I Have solved it by using the modal shown.bs.modal callback. Now using this callback I am setting the default image. Also can it possible to make it like twitter...