JavaScript - src attribute

JavaScript - src attribute

  

hi,

How to add 'src' attribute to a javascript, like in below:

<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?key= INSERT_
YOUR_MAP_API_KEY_HERE&sensor=false">
</script>

regards,

bb

Solution

Drag an expression to your layout.

Type your javascript code in double-quoted string, and set Escape Content to No.

Type in --JS-- in Example to uncluttered your layout designer.

Solution