Hello ,
I have attached the onpropertychang e event to my document as :
[CODE=javascript]// the handler function
function propertychangeH andler(){
alert('property change event...');
}
document.onprop ertychange=prop ertychangeHandl er;
// now, when I change the document.locati on as :
document.locati on="http://www.google.com" ;
[/CODE]
the event is not fired, it doesn' t call the handler .
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 ,
I have attached the onpropertychang e event to my document as :
[CODE=javascript]// the handler function
function propertychangeH andler(){
alert('property change event...');
}
document.onprop ertychange=prop ertychangeHandl er;
// now, when I change the document.locati on as :
document.locati on="http://www.google.com" ;
[/CODE]
the event is not fired, it doesn' t call the handler .
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 ,
Comment