if ($('#flash-modal').length) { $('#flash-modal').modal('close'); $('#flash-modal').modal('destroy'); } $('#multi-lottery-content').before('\n
\n
\n
\n
\n