This project is archived and is in readonly mode.

#529 ✓resolved

Element.match() with comma separated selector

Reported by nuxodin | December 21st, 2008 @ 09:53 PM | in 2.0 (closed)


Element.match dont allow comma separated values:

Comments and changes to this ticket

  • nuxodin

    nuxodin December 21st, 2008 @ 09:57 PM

    ups, loosing the code:

    <textarea id="test"></textarea>
    $('test').match('div, textarea'); // false <----
    $('test').match('textarea, div'); // true
  • Valerio

    Valerio January 12th, 2009 @ 04:09 PM

    • State changed from “new” to “resolved”

    Element:match, like every other Element methods, is not supposed to support comma separated selectors.


    element.match(selector) || element.match(selector)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket