I'm trying to define an element in javascript as a string and then insert it. Have I defined it wrong, or is there another problem?
var NEW_ROW= '<TR class="NewRow"></TR>';
YAHOO.util.Dom.insertAfter(NEW_ROW, referenceNode);
I'm trying to define an element in javascript as a string and then insert it. Have I defined it wrong, or is there another problem?
var NEW_ROW= '<TR class="NewRow"></TR>';
YAHOO.util.Dom.insertAfter(NEW_ROW, referenceNode);