Greinasafn fyrir 29th May, 2008

Thursday, 29. May 2008

Node members or Node attributes

Having given it a bit of thought I think that this problem stems from a slight confusion as to how DOM nodes' attributes work. You would expect javascript code to execute when you apply it to an attribute: someNode.onclick = "alert('foo');"; And you expect this to work because this is exactly what you do in your HTML. And [...] Read more...

Þessi síða

Greinasafn

Leit á þessari síðu


Page style: Use my settings