Modify ↓
Ticket #7296 (closed enhancement: wontfix)
$.isHTMLElement
| Reported by: | davidjbeveridge@… | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.5 |
| Component: | core | Version: | 1.4.3 |
| Keywords: | html element test | Cc: | |
| Blocking: | Blocked by: |
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
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
