example6_array_contents - contents of a tag may include arrays (each element is a child)



show FuncyTag html string output

show Javascript source code

To Notice: if any of the arguments to a functytag are an array, then each element of that array are treated as an argument to the functytag. This can be helpful when helper functions are building up content. (Look at the JavaScript Source Code for examples of array use.)
next: example7_default_attributes top: all js examples