• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can we fire two events on a single check box click one from javascript and other from

#1
Code:
<asp:checkbox ID="chkheader" runat="server" onchangeclicked="checkbox clicked">
<asp:checkbox ID="chkrows" runat="server" onchangeclicked="checkbox clicked">


($document.ready(function(){
$('#gridview1').find(input:checkbox[id$="chkAll"]).click(function(){

-----do something
}


Codebehind
Code:
protected void checkbox clicked(object sender,EventArgs e)
{
----do something
}

I need both events to fire on checkbox click. Is it possible??

**SEO SPAM LINK REDACTED!**
Reply

#2
Maybe this will help.

Call 2 functions within onChange event
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.