I have some errors with my code. Maybe someone could help me. I am getting this error:
SyntaxError: missing formal parameter
function col(10,10){
And this is my code:
<script type="text/javascript">
function col(<?=$result['seats_count']?>,<?=$result['booked']?>){
if((<?=$result['seats_count']?>><?=$result['booked']?>))$('.table.table-bordered.booking tbody tr').css("background-color","#f55");
};
</script>
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…