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

How to get the arclen between two curve points in Maya? -

C++ Linked List -

git svn - Unignore directories in git-svn (adding directories to a sparse checkout) -