N
N
Nana1232016-04-08 16:52:19
PHP
Nana123, 2016-04-08 16:52:19

Bootstrap Tour how to launch on click?

Hello everyone, the tour does not start although I did

<script>
  $(document).ready(function() {
       $("#starttour").click(function(event){
tour.start(true);
      
 });
    });    
  
       
    
       </script>


does not want to start, as soon as I press F12 in the browser, it immediately starts

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan, 2016-04-08
@SteelMonk

If you need it on click, you should remove $(document).ready(function(), by doing this you set the function to fire when the page is opened.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question