1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0//EN">
6 <style type=
"text/css">
9 font-family: verdana
, sans-serif
;
29 text-decoration:underline
;
34 text-decoration: none
;
47 border-bottom-width:1px;
48 border-bottom-style:dotted
;
64 <table width=
"90%" border=
"0" cellspacing=
"1" cellpadding=
"5">
67 <big><tt>Global.helma.Html.prototype.elementAsString
(name,
str,
attr)
</tt></big><br>
73 Return an arbitrary x/html element
<br><br>
76 <li><b>Parameter
</b> <code>{String}
</code>:
<br/>
77 name The element name
<li><b>Parameter
</b> <code>{String}
</code>:
<br/>
78 str The content of the element
<li><b>Parameter
</b> <code>{Object}
</code>:
<br/>
79 attr An optional object containing element attributes
80 <li><b>Returns
</b><br>
84 <li><b>See also
</b><br>
94 <table width=
"90%" border=
"0" cellspacing=
"1" cellpadding=
"5">
96 <td>Sourcecode in /root/helma-
1.6.1/modules/helma/Html.js:
97 <pre><font color=
"#aaaaaa">194:
</font> helma.Html.prototype.elementAsString = function(name, str, attr) {
98 <font color=
"#aaaaaa">195:
</font> res.push();
99 <font color=
"#aaaaaa">196:
</font> this.element(name, str, attr);
100 <font color=
"#aaaaaa">197:
</font> return res.pop();
101 <font color=
"#aaaaaa">198:
</font> }