MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Especificações Página 276

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 504
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 275
276 Tag Libraries and Editors
validateTag()
Availability
Dreamweaver MX.
Description
When a user clicks on a node in the tree control or clicks OK, the function performs input
validation on the currently displayed HTML form elements.
Arguments
None.
Returns
Dreamweaver expects a Boolean value: true if the input for HTML form elements is valid;
false if input values are not valid.
Example
When the user creates a table, a negative integer is entered for the number of table rows. The
validateTag() function detects the invalid input, displays an alert message, and returns a
false value.
applyTag()
Availability
Dreamweaver MX.
Description
When the user clicks OK, Dreamweaver calls the validateTag() function. If the
validateTag() function returns a true value, Dreamweaver calls this function and passes
the
dom object that represents the current tag (the tag that is being edited). The function reads
the values out of the form elements and writes them into the
dom object.
Arguments
tag
The tag argument is the DOM node of the tag being edited.
Returns
Dreamweaver expects nothing.
Vista de página 275
1 2 ... 271 272 273 274 275 276 277 278 279 280 281 ... 503 504

Comentários a estes Manuais

Sem comentários