jQuery on() event not firing [duplicate]
The first event when clicking fires just fine.
The second event when clicking does not work.
Could this be a
delegation issue?
My code
// index.php
// custom.js
$("#get-info").on("click", function() {
$("#get-info-results").load("/get-info-results.php", {
// Some irrelevant _POST vars
});
});
$("#add-to-db").on("click", function() {
$("#add-to-db-results").load("/add-results-to-db.php", {
// Some...