dom.source.wrapSelection()
Availability
Dreamweaver 4.
Description
Inserts the text of
selection. The function then selects the entire range between, and including, the inserted tags. If
the current selection was an insertion point, then the function places the insertion point between
the
and
startTag
arbitrary text.)
Arguments
,
startTag
endTag
•
The
startTag
•
The
argument is the text to insert at the end of the selection.
endTag
Returns
Nothing.
dom.synchronizeDocument()
Availability
Dreamweaver 4.
Description
Synchronizes the Design and Code views.
Arguments
None.
Returns
Nothing.
424
Chapter 18: Code
before the current selection and the text of
startTag
. (
and
endTag
startTag
argument is the text to insert at the beginning of the selection.
don't have to be tags; they can be any
endTag
after the current
endTag
Need help?
Do you have a question about the DREAMWEAVER MX 2004-DREAMWEAVER API and is the answer not in the manual?