execute <script> once only in modal screen code example Example: html data-target modal $('#myModal').modal('show')