creating an anchor w/createElement
How do I assign a value to the "text" of an anchor?I want to do this, but it seems wrong. var myAnchor= document.createElement("a"); myAnchor.setAttribute("href", "theHref"); myAnchor.setAttribute("text", "Click Here");Is it called something besides "text"????
|