Javascript Dom access attributes cross browser
Works on ie and firefox not safari
activateSlot(slots[this.firstChild.attributes['id'].value].slot);
Works on all three(firefox,safari and ie)
activateSlot(slots[this.firstChild.getAttribute('id')].slot);
activateSlot(slots[this.firstChild.attributes['id'].value].slot);
Works on all three(firefox,safari and ie)
activateSlot(slots[this.firstChild.getAttribute('id')].slot);
Comments