I know this can be done but I stink at java script. I want to select some
text in a text field. Then click a graphic on the page and have it put an
HTML tag around the selected text in the form field. Any idea on how to do
this or where to find the code that does this?
Phillip B.
www.LoungeRoyale
I know this can be done but I stink at java script. I want to select some
text in a text field. Then click a graphic on the page and have it put an
HTML tag around the selected text in the form field. Any idea on how to do
this or where to find the code that does this?
Phillip B.
www.LoungeRoyale
function makeBold(elem_id) {
var start_text = '';
var end_text = '';
if (document.layers || window.opera)
return;
else if (document.all) {
selected_text = document.selection.createRange();
new_text = "" + selected_text.text + "
3 matches
Mail list logo