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
Ahmad Ali
529
Views
2
Comments
Call JavaScript function and passing parameters using button
Question
Hi All,
I need to call a JavaScript Function and passing parameters to it once click on a button, can any one help me with this and descripe how to do it step by step
J.
MVP
Not really an outsystems issue, so you can google your question...
https://stackoverflow.com/questions/9643311/pass-string-parameter-in-an-onclick-function
Guilherme Pereira
Staff
Hi Ahmad,
The way to do it in OutSystems would be to use the button's
extended properties
and specify the javascript call on the onclick.
So if you had for instance a javascript function called myFunc which received two params
Your button would be something like:
Hope this helps
Guilherme
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...