applyTag()
Availability
Dreamweaver MX.
Description
When the user clicks OK, Dreamweaver calls the
validateTag()
object that represents the current tag (the tag that is being edited). The function reads the
dom
values out of the form elements and writes them into the
Arguments
tag
•
The
argument is the DOM node of the tag being edited.
tag
Returns
Dreamweaver expects nothing.
Example
Continuing the
cfweather
94065 to 53402, in order to update the user's document to use the new ZIP code, the
must be updated:
function applyTag(tag)
{
tag.zip = document.forms[0].zip.value
}
216
Chapter 11: Tag Libraries and Editors
function returns a
true
example, in the following code, if the user changes the ZIP code from
validateTag()
value, Dreamweaver calls this function and passes the
object.
dom
function. If the
dom
object
Need help?
Do you have a question about the DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER and is the answer not in the manual?
Questions and answers