Two Jquery Functions Listening To The Same Button Click But Only One Works
Code for the first function(keeping in mind its tested and it works fine): $('.create-invoice').on('click',function() { grab_invoice_data(); // Declare a variable v
Solution 1:
You could try to call the second function from the first.
$('.create-invoice').click(function(){
secondFunction();
//rest of code
});
var secondFunction = function(){
//code
};
Post a Comment for "Two Jquery Functions Listening To The Same Button Click But Only One Works"