I have attached the onpropertychange event to my document as :
Expand|Select|Wrap|Line Numbers
- // the handler function
- function propertychangeHandler(){
- alert('propertychange event...');
- }
- document.onpropertychange=propertychangeHandler;
- // now, when I change the document.location as :
- document.location="http://www.google.com";
I read the documentation of msdn that this event is applied to document object .
I have IE7 on Window Vista on my machine .
any suggestion ?
thanks ,