-1

why can't view modal ? and error like this

enter image description here

it should be like this

enter image description here

Lia nur fadilah
  • 57
  • 2
  • 13

2 Answers2

1

You should try this way:

<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<!-- BS JavaScript -->
<script type="text/javascript" src="js/bootstrap.js"></script>
<!-- Have fun using Bootstrap JS -->
<script type="text/javascript">
$(window).load(function() {
    $('#prizePopup').modal('show');
});
</script>
0

Answer

<script type="text/javascript" src="https://code.jquery.com/jquery-1.11.3.min.js"> </script>
<script type="text/javascript" 
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script type="text/javascript">
// jQuery
   $('.edit_real').on('click', function (event) {
       event.preventDefault();
       $('#edit_real').modal();
   });
</script>
Lia nur fadilah
  • 57
  • 2
  • 13