Ticket #1303 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

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

Changed 5 years ago by ray

  • status changed from new to closed
  • resolution set to fixed

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.