1HTMLDocument.setAttribute(3kayKaa)ya module refereHnTcMeLDocument.setAttribute(3kaya)
2
3
4

NAME

6       HTMLDocument::setAttribute - Sets an attribute on a HTML element
7

SYNOPSIS

9       Void setAttribute( ElementTree element, String name, String value )
10

ARGUMENTS

12       element The HTML element
13
14       name The attribute to set
15
16       value The value to use
17

DESCRIPTION

19       Sets  an  attribute  on a HTML element. Required attributes will be set
20       when you add the element by the addition function, but you may wish  to
21       add  optional  attributes  here,  or  change  the  value of an existing
22       attribute based on later calculations.
23
24
25    setAttribute(quotation,"lang","fr");
26
27       The HTMLDocument.setClass (3kaya) and HTMLDocument.setID (3kaya)  func‐
28       tions  should  always  be used in preference to this function for those
29       purposes, as they do some input validation (and are shorter to type!)
30

AUTHORS

32       Kaya  standard  library  by  Edwin  Brady,  Chris  Morris  and   others
33       (kaya@kayalang.org). For further information see http://kayalang.org/
34

LICENSE

36       The  Kaya  standard  library  is free software; you can redistribute it
37       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
38       License  (version  2.1  or  any later version) as published by the Free
39       Software Foundation.
40
42       HTMLDocument.getAttribute (3kaya)
43       HTMLDocument.setClass (3kaya)
44       HTMLDocument.setID (3kaya)
45       HTMLDocument.setTitle (3kaya)
46
47
48
49Kaya                             December 2010HTMLDocument.setAttribute(3kaya)
Impressum