Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
1.92/5 (4 votes)
See more:
my button click not firing in chrome and mozzila but working in IE
plz someone help
it is some form tag issue...when i put my form tag before a div its started workig but its not taking two form tag for two div..

what shud i do plz someone help

ASP.NET
<body>
 
<header class="deskMargin">
<div class="ten">
<div class="row">
  <div class="eight center mobLayOut1">
   <div class="three column mobLayOut1">
   <img src="HomePage/assets/images/logo.png">
   </div>
   <div class="five column mobLayOut1"  style="float:right !important;">
    <div class="row">
    <div class="second column resopsiveBox2" style="margin-removed 4%;"><a class="special" href="#" title="New Member Request Here"><font size="+1" color="#000"></font> <br/> </a></div>
	 <div class="second column resopsiveBox2" style="margin-removed 1%;"><a class="special" style="removed:pointer;" data-reveal-id="login_panel" title="Home Page"><font size="+1" color="#000">New Member</font> <br/>Request For Sign In</a></div>
	</div>
	 </div>
    </div>

 </div>

</div>

</header>
  <form id="form1"  runat="server">
 <div style="margin-removed1%;" class="centerLogo">
	   <div class="twelve columns">
      <h5 class="pink-text">  LOG IN</button> --%>
      </div>
	  </div>
       
<div id="login_panel" style="margin-removed-7%;" class="reveal-modal">
  <div class="row">
    <div class="twelve columns">
      <h5 class="pink-text">^__i class="icon-user icon-large"> New Member Request For Sign Up <span class="subheader right small-link">
	  	  <hr/>
	  </h5>

    </div>
     <div class="five column">
       <input type="text" id="Text2" runat="server" name="txtusercode" maxlength="15" size="15" class="inputbox" placeholder="Name" required />
        
       
      </div>
      <div class="five column">
        <input type="text" id="Password2"  name="txtpwd" maxlength="15" size="15"class="inputbox" placeholder="Contact No." required />
      </div>
   
      <div class="five column">
       <input type="text" id="txtusercode" name="txtusercode" maxlength="15" size="15" class="inputbox" placeholder="User Name" required />
        
       
      </div>
      <div class="five column">
        <input type="password" id="txtpwd" name="txtpwd" maxlength="15" style="width:192px;" size="15"class="inputbox" placeholder="Password" required />
      </div>
     
      <div class="twelve columns">
      <asp:Button ID="Button2" runat="server" Text="Button" onclick="Button1_Click" />
         
        <button type="button"  id="login" name="submit" runat="server"  class="radius secondary button">^__i class="icon-unlock">  LOG IN</button> 
      </div>
    
    <div id="wrong" class="twelve columns" style="display:none"><hr>
      <h4 style="color:#ff0000;">Username/password wrong!!</h4>      
	  </div>
  </div><!--end row-->
  <a href="#" class="close-reveal-modal">×</a>
</div><!--end login panel-->

  </form>
 



<!-- JAVASCRIPTS
================================================ -->

	<!-- jQuery & Foundation Framework -->
  <script type="text/javascript" src="HomePage/assets1/scripts/jquery.js"></script>
  <script type="text/javascript" src="HomePage/assets1/scripts/foundation.min.js"></script>
  
    

</body>
Posted
Updated 16-Oct-13 21:33pm
v4
Comments
Siva Hyderabad 17-Oct-13 2:49am    
what u write complete source code.
Sergey Alexandrovich Kryukov 17-Oct-13 3:27am    
Unreadable! Please, don't write code in comments, use "Improve question". Make the code readable, could you?
—SA
Miss Maheshwari 17-Oct-13 3:34am    
i updated my ques plz check
JoCodes 17-Oct-13 3:51am    
Where is your codebehind which has your button click events. Also , You have many buttons here in markup which button click event is not firing? Please specify to get a better response
Miss Maheshwari 17-Oct-13 5:04am    
protected void Button1_Click(object sender, EventArgs e)
{
if (Text1.Value == "" && txtVPwd.Value == "")
{
this.ShowMessage("Plz Enter Usercode & password...", "Confirmation");
}
else
{
LoginData();
}
}

no button click is working

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900