Opened 8 years ago

Closed 8 years ago

#1303 closed defect (fixed)

add getElementsByClassName()

Reported by: ray Owned by: gogo
Priority: normal Milestone: 0.96
Component: Xinha Core Version: trunk
Severity: normal Keywords:
Cc:

Description

...because it's practical and one can do nice things with it that would be hard otherwise

Change History (1)

comment:1 Changed 8 years ago by ray

  • Resolution set to fixed
  • Status changed from new to closed

rev [1080]: implemented as
Xinha.getElementsByClassName = function(el,className)
and
Xinha.Dialog.prototype.getElementsByClassName = function(className)
as a wrapper for the native implementation where available (all but IE), but returns Array instead HTMLCollection, which is handier in most cases

Note: See TracTickets for help on using tickets.