Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get element by id like javascript

document.querySelector('[id^="poll-"]').id;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #element #id #javascript
ADD COMMENT
Topic
Name
5+1 =