DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
selector id jquery but is variable
//<p id="id-1"></p> var id = 1; $('#id-' + id).hide();
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#selector
#id
#jquery
#variable
ADD COMMENT
Topic
COMMENT
Name
3+2 =
Submit