Functioning, But Page Transitions Inconsistent
What I Believe to be the Correct Approach, But Event Triggering Issue
Currently, I am experimenting with page transitions and utilizing bind() to detect the end of the CSS event transition. When a class is added, the transition occurs and is removed upon completion, which triggers the code in the bind() callback. However, only one bind callback is working, leading to incomplete transitions.
Jquery
$("a").click(function () {
// Code to handle page transitions
});
I am seeking a solution without relying on third-party plugins, and a detailed explanation of why this inconsistency is occurring would be greatly appreciated.