Hello!
I'm trying to send async request to route but faced one problem. On click event does not worked:
I see the first alert. But don't see alert after pressing the button.
Button:
Thanks :)
Hello,
Please make sure your object already exists, try to add right after your alert():
console.log("button exists: ", AJS.$("#test").length);
0 means that the object is not present in DOM yet...
Tom
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Discover the teamwork and precision behind success on and off the track. See how this high-performing team makes the impossible possible. Be one of the first 100 customers to register for a chance to win 2 tickets to an Atlassian Williams 2026 race.
Register now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.