You need to read the other thread, which should explain why you can’t target elements like this.
You cannot target the element using a string using plain old JavaScript.
You can however, use Lodash.
You need to read the other thread, which should explain why you can’t target elements like this.
You cannot target the element using a string using plain old JavaScript.
You can however, use Lodash.