Is it possible to select element with interpolation? I have a var with a string
inputId = "awesomeInput" and i would like to select input which has ID "awesomeInput". I tried to do it like i would normally do with jquery
$("#{inputId}") console.log tells me that something was picked, but any function i try to perform on this object fails. There are no errors, but also no effects. Like this:
$("#{inputId}").show() How can I select an element with jquery like this, and than show it?