Hello, i use this same function with no problems on other pages i have tried everything and im pretty good with perl and javascript but i keep getting an error expected ; if i remove 'test' from the function to just scOn() it works fine, the problem is when trying to pass a variable pleas help thanks.
foreach(@arSub){
push @bbSub, qq(<div><table id="$_" class="bgWhite" width="110" height="30" onmouseover="javascript:scOn('test');"><tr><td>$_</td></tr></table></div>);
}
push @javaSubs, qq(var subItems$lp = '@bbSub';
}
foreach(@arSub){
push @bbSub, qq(<div><table id="$_" class="bgWhite" width="110" height="30" onmouseover="javascript:scOn('test');"><tr><td>$_</td></tr></table></div>);
}
push @javaSubs, qq(var subItems$lp = '@bbSub';
}