Quote:
Originally Posted by Dave
It only does the first occurrence because the JavaScript only gets executed once. You have to make some sort of array or find each occurrence of field5's existence for each post in the JavaScript.
|
Hi Dave thx for the fast replay
any simple exemple haw to get field5 from each post plz
i was thinking to make same thing like that
PHP Code:
$i=0;
while ($array2 = Players_Name)
{
// Do something with the current row here
if($i==0)
{
$i++;
}
else
{
}
}
the problem is Players_Name = {vb:raw post.field5} is not working
if i added like that Not work
Code:
<script type="text/javascript">
Players_Name = {vb:raw post.field5};</script>
and if i add any name like that is work
Code:
<script type="text/javascript">
Players_Name = "testname";</script>
so my problem with {vb:raw post.field5} how to catch
Thx again