What I want to do is all too unbelievably simple. I have a function that inserts <B> and </B> tags around whatever is highlighted in a text area. When called with an <INPUT> button, it works fine, as in:
<INPUT TYPE="button" VALUE="Bold"...
For most objects, you can use the innerHTML property. FOr example, if you want to store the contents of an ordered list, you can specify:
var OLcontents = [OLid].innerHTML
But the innerHTML property doesn't work with <TABLE> objects. Does anyone know a way set a variable = to the contents of...
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.