JavaScript bind event to document 2015-05-06 Tomislav Vlahović Leave a comment $(document).on('click', '.add_photo_to_location', function(){ $('#upload-modal').modal(); });