Getting Value¶
You can use EXPRESSION to display any dynamic content in template.
Inserting EXPRESSION¶
To insert it, you can use the following code:
<!--{= EXPRESSION }-->
Attribute Description
EXPRESSION JavaScript-syntax expression
You can add condition code for easy editing automatically by clicking the Value of button on the Code Editor toolbar.
Usage Examples¶
Use links below to see some sample situations where EXPRESSION can be used.
Example 1:Displaying Static Text
Shows how to display static content on your mobile page.
Example 2:Displaying Value of JavaScript Function Call
Shows how to display results of standard JavaScript functions.
Example 3:Displaying Template Parameter Value
Shows how to display parameter values.
Example 4:Displaying Value Received by XPath API Function
Shows how to display values received by XPath API functions.
Example 5:Setting HTML Attribute Value by XPath API Function
Shows how to generate attribute values for HTML elements.