...

View Full Version : Adding html element to a textbox



mat3000000
08-25-2011, 09:13 PM
Trying to add the text "• " to a text area, but it will just print the symbol. Is there a way you can print the string itself?

function add(myValue) {
//IE support
if (document.selection) {
desc.focus();
sel = document.selection.createRange();
sel.text = myValue;
}

...onclick="add('• ')"

devnull69
08-25-2011, 09:17 PM
add('• ')



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum