Skip to main content

Bug Tracker

Side navigation

#7296 closed enhancement (wontfix)

Opened October 23, 2010 07:57PM UTC

Closed October 23, 2010 09:20PM UTC

$.isHTMLElement

Reported by: davidjbeveridge@gmail.com Owned by:
Priority: low Milestone: 1.5
Component: core Version: 1.4.3
Keywords: html element test Cc:
Blocked by: Blocking:
Description

I have found that checking whether a given object is an HTMLElement must be done differently in IE. I have written a small plugin to add $.isHTMLElement(), and I believe it is a common enough procedure that it is worth adding to core.

The plugin can be downloaded at http://www.nerdyisback.com/examples/jquery.ishtmlelement.js

Attachments (0)
Change History (2)

Changed October 23, 2010 09:19PM UTC by SlexAxton comment:1

component: unfiledcore
keywords: → html element test
priority: undecidedlow
status: newopen

Changed October 23, 2010 09:20PM UTC by SlexAxton comment:2

resolution: → wontfix
status: openclosed

If this isn't used in the library internally, it should live as a plugin. Feel free to create a plugin that does this.

Thanks.