Progress Bar not work in repeat region
Hi I have a repeat region that call a list of data from mysql database. on each line I want to display a progress bar. The issue I'm having is the the progress bar only shows for the first line?? See image below
I very new to jquery so any help would be great
Cheers Chris
- <?php do { ?>
- <div id="report">
- <table width="100%" border="0" cellspacing="5" cellpadding="0">
- <tr>
- <td align="left" width="60"><?php echo $row_rsProgress['worksorder']; ?></td>
- <td align="left" width="120"><?php echo $row_rsProgress['customer']; ?></td>
- <td align="left" width="120"><?php echo $row_rsProgress['department']; ?></td>
- <td align="left" width="60"><?php echo $row_rsProgress['status']; ?></td>
- <td align="left" width="200"><div id="progressbar"></div>
- <script>
- $( "#progressbar" ).progressbar({
- value: 50
- });
- </script></td>
- </tr>
- </table>
- </div>
- <?php } while ($row_rsProgress = mysql_fetch_assoc($rsProgress)); ?>