Closed sidaurukfreddy closed 8 years ago
Thanks, solved by my self lah
if (data.status) //if success close modal and reload ajax table { $('.cropit-image-preview').css('background-image', ''); //this remove background images $('.cropit-image-background').removeAttr('src'); //this remove images preview $('#form').trigger("reset"); //reset form $('#myModal').find('form')[0].reset(); }
Hello, really love you plugin lah ! firstly i have so much issue but while coding and debug solved one by one but most of all is about in modal bootsrap
cause i'm using bootsrap which is suppot responsive by adding class im-responsive in tag html img my question is how can i add up class img-responsive in this js (the purpose is make default images become repsonsive ?
How can i remove images after success upload in modal bootsrap cause old images still exiist when i add new product which has upload images, i use reset form and reset modal the images still exist and i will not reload it cause it show and hide div
Please repsond cause i need some one to digging in this issue, Thanks a lot scooth
Regards, Freddy Sidauruk