I am using knockjs and I have created dynamic observableArrays in js file.
Ex. product+productid
which creates a dynamic observableArrays as product123
.
I want to use this in a data bind foreach loop and want to create this variable dynamically again in html file.
Something like : data-bind="foreach: { data: "product"+product.id()()}
So this "product"+product.id()()
binding should call my product123() array.
How can I achieve this?