Pavel Zarudniy
Posts: 0
Joined: Mon Jul 06, 2015 8:56 am

Using JS var as name of LSV in a .get Method

Hi Jack,
Param to get function it is just string and you can concatenate it with variable.
For example:
code
var value = Apperyio.storage.selected_job.get("$['" + code + "']");
/code

Jack Bua
Posts: 0
Joined: Sun Jun 28, 2015 10:16 pm

Using JS var as name of LSV in a .get Method

Thank you so much. I was making that too hard and tried what you said before but made another mistake and assumed incorrectly.

Again, thank you Pavel.

Jack Bua
Posts: 0
Joined: Sun Jun 28, 2015 10:16 pm

Using JS var as name of LSV in a .get Method

due to the double sets of """". Basically

Return to “Issues”