Not Solved [How To?] Login from bootstrap modal?
#1
Not Solved
Login from bootstrap modal?

i have tried everything now, and still cannot login

<form id="quick-login" role="form" class="form col-md-12 center-block" method="post" action="{$mybb->settings['bburl']}/member.php">

<script type="text/javascript">
    $(function(){
       $('quick-login').on('submit', function(e){
            e.preventDefault();
            $.ajax({
                url: "{$mybb->settings['bburl']}/member.php",
                type: "POST",
                data: $("quick-login").serialize(),
                success: function(data){
                    alert("Successfully submitted.")
                }
            });
       }); 
    });
</script>

[Image: GihqhGM.jpg]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)