E
eric.malkowiak
I am not use to the Front-page object model so I don't know how to
insert a piece of html at the cursor position, more precisly to replace
a piece of selected text by the same text in a tag.
I would like to surround a text selected by the user by a span tag.
Basically with the following html in the code view
<p> this is an internal term</p>
Then in the Design view the user select the word "internal", he clicks
on a button and a piece of VBA that I am trying to develop, surrounds
the word "internal" by a <span> tag, like this
<p> this is an <span id=int>internal</span> term</p>
I have a piece of java scrit that hide or display all the span tags
with the "int" id
Any help is welcome
Eric
insert a piece of html at the cursor position, more precisly to replace
a piece of selected text by the same text in a tag.
I would like to surround a text selected by the user by a span tag.
Basically with the following html in the code view
<p> this is an internal term</p>
Then in the Design view the user select the word "internal", he clicks
on a button and a piece of VBA that I am trying to develop, surrounds
the word "internal" by a <span> tag, like this
<p> this is an <span id=int>internal</span> term</p>
I have a piece of java scrit that hide or display all the span tags
with the "int" id
Any help is welcome
Eric