narasiman rao

narasiman rao

  • NA
  • 519
  • 766.8k

how to call the div class name in asp.net using C#

Aug 31 2016 6:28 AM
how to call the div class name in asp.net using C#
 
 My code as follows
 
<div class="popUpContainer"  runat="server">
  <input type="email"  placeholder="Employee ID"> 
</div>
 
Using Javascript i show the above div class name popUpContainer
 
<script>
$(document).ready(function () {
$('.takeMeHere').click(function ()  {
$('.popUpContainer').show();
$('.overlay').show();
})
 
$('.cancel').click(function () {
$('.popUpContainer').hide();
$('.overlay').hide();
})
 
I have image button click code as follows
 
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
    
 
 
in the above imageButton click event i want to display the  class="popUpContainer".
 
for that in the above imagbutton click how to call class popUpContainer class name.
 
 
 

Answers (2)