pedz
unread,Jul 9, 2011, 11:37:25 AM7/9/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to prototype-s...@googlegroups.com
My first attempt to use HTML 5's onPopState isn't working. I did:
$$('body')[0].on('popstate', Raptor.makeWrapper(function(event) {
console.log('popped');
}));
I've tried a few different capitalizations but, so far, it isn't logging the 'popped' message.
Any suggestions on how to hook this up? It appears (from the HTML 5 documentation) that the event handler needs to be hooked to the body element.