Pingendo Help Center

.modal('show') method (SOLVED) again by gseregni


I would like to use this metod for show up the modal when the website homepage load, i try to copy past this code but for some obviously reason he dosn’t work properly. The modal drag and drop module of pingendo work really well but i need a show up not a button to clic and after a lot of try this and that I didn’t find the right way to solve it.

<!DOCTYPE html>

<html lang="en">


<meta charset="UTF-8">

<title>Open Bootstrap Modal on Page Load</title>

<link rel="stylesheet" href="css/bootstrap.min.css">

<link rel="stylesheet" href="css/bootstrap-theme.min.css">

<script src=""></script>

<script src="js/bootstrap.min.js"></script>

<script type="text/javascript">







<div id="myModal" class="modal fade">

    <div class="modal-dialog">

        <div class="modal-content">

            <div class="modal-header">

                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>

                <h4 class="modal-title">Subscribe our Newsletter</h4>


            <div class="modal-body">

                <p>Subscribe to our mailing list to get the latest updates straight in your inbox.</p>


                    <div class="form-group">

                        <input type="text" class="form-control" placeholder="Name">


                    <div class="form-group">

                        <input type="email" class="form-control" placeholder="Email Address">


                    <button type="submit" class="btn btn-primary">Subscribe</button>









Which bootstrap are you importing ?

Using 4.1.3 from works

  <script src="" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
  <script src="" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
  <script src="" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous">


it works :rofl::rofl::rofl::rofl::rofl: how can i live without you?