Value State Description
0 Undefined Windows Media Player is in an undefined state.
1 Stopped Playback of the current media item is stopped.
2 Paused Playback of the current media item is paused. When a media item is [...]
Thursday, November 16th, 2006
This is how you set event handler that works.. for all
selColumn.onchange = “func()”;
var onChangeHandler = new Function(selColumn.onchange);
if (selColumn.addEventListener) {
selColumn.addEventListener(’change’, onChangeHandler, false );
} else if (selColumn.attachEvent) {
selColumn.attachEvent(’onchange’, onChangeHandler);
}
Javascript window.open returns an object that points to the newly open window. this is how you can make fake window objects to fool some page reloads :
Function dummyWindow will return a Window object whose reload doesn’t do anything
function _location(){
this.reload=_reload;
function _reload(){
return;
}
}
function dummyWindow(){
this.location = new _location();
}
Its a Hack but usefull in some scenarios