Hi
Could use some help.
Let's say that GET request (
http://localhost:8080/blablabla/rest/ingredientgroups), would return something like below:
Currently I use something like below to set values to a dropdown box element with id
#ingredientGroupNameSelect:
I'm trying to create a more general method (that I would like to re-use where possible) which would take in some parameters and then valuate certain dropdown box
I have come up with something as below but I'm falling a bit short....
I'm struggling with the syntax to use variables valueId and valueName
I'm still very new to this.... Sure could use some help.
Much appreciated. TA.