Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript [Solved] How can i prevent modal close by enter the url in address browser Reply To: [Solved] How can i prevent modal close by enter the url in address browser

#209782
dauruk0512
Participant

Oh i see, honestly i make modal in bootsrap that user should click cancel button if they already upload image or something inpu type cause some input type and images already insert to database ?

I create modal has upload images (dropzone) which upload to server ?

i want users only click cancel button to make data which already insert can delete by jquery but realiaze that user can enter the url then modal close ?

how about data already insert to table, make me stress about it ?

then i found another way, i just keep moving don’t care data but when user login or log out i should delete it by where clause is_used=’0′

Thanks uncle :D