+1 vote
in OTHER by (960 points)

I'm using Twitter bootstrap 2.3.2 and included a form in the dropdown menu. 

Here is my part of code for the navigation menu

<li class="dropdown" id="menuLogin"> <a class="dropdown-toggle btn" href="login" data-toggle="dropdown" id="navLogin"><i class="icon-lock"></i> Login</a>

  <div class="dropdown-menu span3" style="background:#0C0;">

 <form method="post" action="<?php echo base_url().'login';?>" id="login>
 <div class="control-group">
  <input type="text" name="login_email" id="login_email" value="" placeholder="Email" class="span3" />  
<?php echo form_error('login_email')?>
 <div class="control-group">
 <input type="password" name="login_password" id="login_password" value="" placeholder="password" class="span3"/> 
 <?php echo form_error('login_password')?>
 <div class="control-group">
 <div class="text-left" style="padding-left:8px;">
 <input type="submit" class="btn" name="login" value="Login" style="background-color: #3498DB;" />
 <a href="<?php echo base_url().'forgot_password';?>">Forgot Password?</a>

Ihave also tryed 

    $('.dropdown-menu input, .dropdown-menu button').on('click', function(e) {


Your answer

Thanks for contributing your answer!
Please be sure to answer the question. Provide details with examples and share your research!
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Not a Member yet?

Ask to Folks Login

My Account

Your feedback is highly appreciated