get a specific div class from div and based on that do a function
the title might not explain my need well. Basically, beginning of the page, I have like 20 divs, each has id of cal001, cal002 ... to cal020.

Then at the end of page, I have a bunch of divs at the bottom of the page, each have divs like tocal001, or tocal002. Those divs might have different classes as well. Say I have a div with class tocal001, How can I make javascript recognize the specific class that start with tocal and `clone().after()` to the cal001 div?
get a specific div class from div and based on that do a function
===

the title might not explain my need well. Basically, beginning of the page, I have like 20 divs, each has id of cal001, cal002 ... to cal020.

Then at the end of page, I have a bunch of divs at the bottom of the page, each have divs like tocal001, or tocal002. Those divs might have different classes as well. Say I have a div with class tocal001, How can I make javascript recognize the specific class that start with tocal and `clone().after()` to the cal001 div?