amoffat / bootstrap-application-wizard

MIT License
1.85k stars 388 forks source link

i cant install #120

Open taymazmostafaei opened 3 years ago

taymazmostafaei commented 3 years ago

this all codes i use :

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link href="bootstrap-application-wizard/src/bootstrap-wizard.css" rel="stylesheet" />
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
</head>
<body>
    <div class="wizard" id="some-wizard" data-title="Wizard Title">
        <div class="wizard-card" data-cardname="card1">
            <h3>Card 1</h3>
            Some content
        </div>

        <div class="wizard-card" data-cardname="card2">
            <h3>Card 2</h3>
            Some content
        </div>
    </div>

    <script src="bootstrap-application-wizard/src/bootstrap-wizard.min.js" type="text/javascript"></script>
<script>
    $(function() {
    var options = {};
    var wizard = $("#some-wizard").wizard(options);
});

</script>
</body>
</html>

and i dont have any load error , but i have this error in consel :

jQuery.Deferred exception: this.el.modal is not a function TypeError: this.el.modal is not a function
    at Wizard._create (file:///C:/xampp/htdocs/bootstrap-application-wizard/src/bootstrap-wizard.min.js:1:6693)
    at new Wizard (file:///C:/xampp/htdocs/bootstrap-application-wizard/src/bootstrap-wizard.min.js:1:6240)
    at S.fn.init.e.fn.wizard (file:///C:/xampp/htdocs/bootstrap-application-wizard/src/bootstrap-wizard.min.js:1:45)
    at HTMLDocument.<anonymous> (file:///C:/xampp/htdocs/ind.html:28:36)
    at e (https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js:2:30005)
    at t (https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js:2:30307) undefined

and

U``` ncaught TypeError: this.el.modal is not a function at Wizard._create (bootstrap-wizard.min.js:1) at new Wizard (bootstrap-wizard.min.js:1) at S.fn.init.e.fn.wizard (bootstrap-wizard.min.js:1) at HTMLDocument. (ind.html:28) at e (jquery.min.js:2) at t (jquery.min.js:2)