Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Carla Ribeiro da Fonseca
118
Views
0
Comments
JavaScript Alert
Question
Hi, just a quick tip!
For some reason, when one adds a script to display an alert box, the alert is displayed before the page is rendered. This looks ugly but there's an easy fix. Instead of writing <script>alert('hello world')</script>, try <script defer>alert('hello world')</script>. That should work (not 100% guaranteed, there are some strange browsers out there...).
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...