The append function is established to create the append attribute to the last return value.
It can be called as far as once to a runat. The second calling is invalidated without any exceptions.
var result = new Result();
result
.runat("#table1")
.remove("tr")
.append("<tr><td>{data1}</td><td>{{data2}}<</td></tr>");
Calling | Returning |
Result . append ( mask ) | Result |
Parameters | Type | Description |
mask | String | The sub html with data masks which will be replaced to the removed tags.
"<tr>"<td>{data1}"</td>"<td>{{data2}}"</td>"</tr>"
The "{data1}" will be replaced and htmlEncoded with the data1 as a field in withdata.
The "{{field}}" will be only replaced and be not htmlEncoded.
|