--0-1464492364-1007546575=:52944
Content-Type: text/plain; charset=us-ascii
if the strTextPowerText is a input type="text" then the property document is wrong. Try something like that:
strPowerText.value += "<HTML>" if you want to add text (!!!) to your text box.
if you want to add elements (tags) to your document, it's a little complicated (and if that is what you want, please send a specific
mail).
the document.write(...) way to add elements to your page is working but, notice, document is a property of the window object.
Something like : window.document.write("New text"); or simply document.write("New text");
True2ViSioN@a... wrote:
i need help with adding tags to my editor
but it wont it thinks there a realy one how can i do it
(it works with out the tags)
my code
<a class="menuItem" href="#" onClick="strTextPowerText.document.write('<HTML>');strTextPowerText.focus();">
HTML </a>
---------------------------------
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.