Javascript Section

The javascript section works in a similar way to the HTTP section and allows you to add third party javascript code.  

For example: Adding the following script in a java section will cause an alert message to appear when the app URL is loaded.

<script>

alert('hi there');

</script>

The code gets executed outside of the region that MyPhotoApp executes.    To continue to App you need to press OK to close the Alert message and load the app. 

This can be a useful feature for when you have javascript that a 3rd party has provided that does not have any visual elements that you want to embed in the app. 

 

 

You can learn more about how java Code can be utilized here

 

Try Java Script

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk