Answers for "selector id jquery but is variable"

0

selector id jquery but is variable

//<p id="id-1"></p>
var id = 1;
$('#id-' + id).hide();
Posted by: Guest on May-02-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language