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
Frank
6
Views
1
Comments
ID of element
Question
Hello Everybody,
I am writing some javascript to control some functionality on a webscreen. The key to my javascript programming is to get the ID's of some of the widgets, containers, etc. Is there an easier way of getting the ID's of widgets, containers
, etc in Outsystems without "view source" the webpage itself?
Thanks,
Frank
António Chinita
Hey Frank,
if you define the name of the object, you can obtain it in the IDE by calling the Id property of it's name.
Eg. Imagine you have a div named A.
You can now get the Id by using A.Id inside your expression. Eg: "<script>alert('" + A.Id + "');</script>"
:)
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...