How To Repeat A Javascript Function In A Php Foreach With

How To Repeat A Javascript Function In A Php Foreach With