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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -