Skip to content

sending a arrayIndex as a parameter to onclick button function #568

Closed
@franklopez

Description

@franklopez

Hi I have this issue:

form:
{
"type": "button",
"htmlClass" : "bt-down",
"onClick" : "showCountries(arrayIndex)",
"icon": "fa fa-search"
}

this in inside an array, and i want to call showCountries(arrayIndex) and have the index array value in my function how can i do this?

regards,

Francisco Lopes

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions