Re: Documentation on clicking an INPUT element

2004-02-03 Thread Boris Zbarsky
da wrote:

Is there anyway to accomplish the same thing under Netscape/Mozilla?
See the DOM events spec; dispatchEvent in particular.

-Boris
___
mozilla-documentation mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-documentation


Documentation on clicking an INPUT element

2004-02-03 Thread da
Under IE, one can write javascript to cause a 'click' event to be fired on a
given element.

  var aElement = document.getElementById("someID");
  aElement.click();

Is there anyway to accomplish the same thing under Netscape/Mozilla?

Thanks,

-- dwa


___
mozilla-documentation mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-documentation