Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a button click event like this, I want to execute 'each function' before 'CategoryCombo(count)'


JavaScript
$('body').on('click', '.btnEdit', function () {

    $(".DetailsTB tr").each(function () {
      ......
    });

    CategoryCombo(count);

}


What I have tried:

$('body').on('click', '.btnEdit', function () {

$(".DetailsTB tr").each(function () {
......
});

CategoryCombo(count);

}
Posted
Comments
Patrice T 13-Mar-16 0:51am    
What is the question ?
[no name] 13-Mar-16 1:26am    
What are you trying to accomplish, please elaborate.

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