how to call two variables in one function on script include
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2023 04:58 AM
2 REPLIES 2
Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-26-2023 05:26 AM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2023 09:58 PM - edited ‎05-02-2023 06:10 AM
You meant to say, How to pass two arguments/parameters in a function of script include?
If yes, you can pass arguments one by one and can receive the same in script Include function in the same order.
For example. -
//calling a script include function with two vairable from different script.
var aaa = 3;
var bbb = 5;
var num1 = new ScriptIncludeName.functionName(aaa, bbb);
//Script include function
function: functionName(aaa, bbb){
//function body
}