Welcome Guest, Not a member yet? Register   Sign In
Can we fire two events on a single check box click one from javascript and other from
#1

(This post was last modified: 10-26-2018, 11:12 AM by ciadmin. Edit Reason: SEO spam link, third time, no? )

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




Theme © iAndrew 2016 - Forum software by © MyBB