Re: [dom] Is it recommended to use Node.getFeature() or Node.isSupported()?

Boris Zbarsky <[email protected]>
Newsgroups gmane.comp.web.dom.general
Message-ID <[email protected]>
On 8/21/13 8:43 PM, James Craig wrote:
> if (typeof document.body.ondismissrequest !== "undefined") {

Just if ("ondismissrequest" in document.body), I'd think.

-Boris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.