Portlet Factory, Version 6.1.2


 

Client JavaScript builder

Use the Client JavaScript builder to add client-side JavaScript to a specified page in a model. The builder places a pair of <SCRIPT> tags in the model. The information you enter or reference in the JavaScript field is placed between these tags. For example, if you enter alert("Hello World"); in the JavaScript field. The following code is created by the builder to display a Windows alert box:

<script name="AlertWindow"
 language="JavaScript"> alert("Hello World")
</script>

AlertWindow is the span tag assigned to the Client JavaScript builder.

 

Quick tips

  • You can only use client-side JavaScript with this builder.

  • In the JavaScript field you can create functions and make calls to other client-side JavaScript functions that are loaded when the page is rendered.

Parent topic: Builder help


Library | Support |