Ask A Question

Notifications

You’re not receiving notifications from this thread.

Is there a way to detect users leaving a page and alerting them

JP asked in Rails

Is there a way to detect users leaving a page and alerting them in rails or would it be better to use jquery?
Thank you!

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 85,376+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.