cross browser

  • Cross Browser Support for DOM Events

    Firefox follows the DOM standard and passes an event object to each event listener, however has the global event: windows.event. Problem:I wanted to fire a piece of javascript after the user keyed some text and pressed enter or clicked a button. The skeleton code is below:<input id=”NewsletterEmail” value=”Email here” type=”text”   onfocus=”javascript:this.value = ”;” class=”WiderLoginTextBox” /><input value=”OK”…

    Know More