jQuery: using a variable as a selector [duplicate] February 11, 2023 by Tarik You’re thinking too complicated. It’s actually just $('#'+openaddress).