But how would I make
// attach Event
if(editdoc.attachEvent)
editdoc.attachEvent('onkeypress',HandleChange);
else if(editdoc.addEventListener)
editdoc.addEventListener('keypress',HandleChange,true);
}
Always be available without making uses do addition clicking? Some how if I run it using “onload” it would not work. I need to run some other JS on Key Press at any time event should be available.