Created by: hnrch02
.on()
is the recommended way of attaching handlers to events since jQuery 1.7 and besides that we exclusively use .on()
– looks like nobody really payed attention to the alert JS docs since 2ebc0ad2 added this over two years ago...