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

php - How to add and update images or image url in Volusion using Volusion API -

c# SetCompatibleTextRenderingDefault must be called before the first -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -