how to pass class name to javascript function parameter -


i struggling on passing class name (only number 11 , 22) function parameter. code is:

document.queryselector(".show-11-22,.show-11-33,.show-33-55,"); 

i want pass number class (.show-**11**-**22**,.show-**11**-**33**,.show-**33**-**55**) function parameter number , size respectively

function mydata(number,size){     //some code } mydata(number,size)  //so mydata(11,22) mydata(11,33) mydata(33,55) 


Comments

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -