javascript - How to initialize dynamic input with css selector using query selector? -
how initilize dynamic number in css
selector?
ex-pageurl.queryselector(.attachment-type-table .qa-type-id-label-for-25)
the above line given 1 result photograph
.
i need names in span tag
( qa-type-id-label-for-26,qa-type-id-label-for-25, qa-type-id-label-for-27 etc)
use native function yourspan.attr('class')
, , can use .split(" ")
individual of class.
Comments
Post a Comment