how to increment a javascript variable title that is within a php while loop
- by steve
I'm building multiple countdown clocks on one page. The number of countdown clocks varies from day to day so I need to call javascript several times from within "while" code in php to produce different clocks. The following code works but it's based on knowing how many clocks are needed before I start:
<script language="javascript"…