These JavaScript demos simply display a standard browser an alert message telling you where they're from.
One more way to add JavaScript is available in Silk UI.
Manipulate DOM elements using
"...document.getElementById('" + <Widget Name>.Id + "')"
Form onSubmit doesn't work
The Form widget translates to an HTML, Div and an onSubmit will not have any effect. In this demo, clicking "Send" just sends the typed text to a screen action without onSubmit being able to prevent it.
onKeyUp & onBlur
Repeats the text you type below on each corresponding JavaScript event.
OnKeyUp:
OnBlur:
JavaScript for Web
JavaScript for Web
142
JavaScriptforWeb
142
en-US
/JavaScriptforWeb/
https://sbsam.outsystemscloud.com/JavaScriptforWebTask/JSFormValidation.aspx?_ts=636595612504200900