Does anyone have the solution on this problem?
it is soposed to be <b> tags around a marked selection in a textfield but it won't work in Netscape 4.7
but in explorer.
<FORM NAME="myForm">
<TEXTAREA NAME="myArea" COLS="40" ROWS="4"></TEXTAREA>
<input...
thx tuz
have written this but it wont work, what have i done wrong
<SCRIPT LANGUAGE="JavaScrippt">
function boldit()
{
sel=document.selection
range=sel.createRange()
thetext=range.text
if (thetext.length)
{
range.text="<b>"+thetext+"</b>"
}
}...
I have made a textfield that submit html to a db site and now i want to make it possible to change the text that is typed with a form button.
Ex. text written in the textfield:
Hi my name is johan
after this you should beenabel to mark johan with the mouse and press a form button and then the...
Supose that i want to write a few words in bold mode, then i want to have the posibillity to move over a word with the mose an mark it in the textfield, and when I push a button that word will have a <b> </b> auround it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.