- From: Dean Edwards <dean.edwards@gmail.com>
- Date: Thu, 19 Nov 2009 00:38:48 +0000
On 17/11/2009 15:50, Bjartur Thorlacius wrote: > As the discussion had turned into bunch (good) advice giving, I > decided to repost this if anyone actually has opinion on this matter > and/or could tell me why the spec recommends firing hashchange on the > document instead of a specific element when a user navigates to a URI > with a hash component. > A lot of Ajax apps will manipulate the value of location.hash to represent the *state of the application*. In this case there is no corresponding element to trap the onfocus event. -dean
Received on Wednesday, 18 November 2009 16:38:48 UTC