How To Login from bootstrap modal?
ollie2015 Offline
Member
***
Posts: 90
Joined: Jan 2015
Post: #1
How To Login from bootstrap modal?
Login from bootstrap modal?

i have tried everything now, and still cannot login

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


Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<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> 

09-23-2015 06:37 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
How To Login from bootstrap modal? - ollie2015 - 09-23-2015 06:37 AM

 Standard Tools
Forum Jump: