Code: Alles auswählen
//JAVASCRIPT
$val = 0;
$sql_obj = "SELECT * FROM `objectives_selection` WHERE collaboration_id=".$_SESSION['collaborationid']."";
$result_obj = mysql_query($sql_obj);
while ( $row_obj = mysql_fetch_row($result_obj) )
{
$pos=$row_obj[2] * 6 - 6;
$template->assign_block_vars('javascript', array(
'POS' => $pos,
'ROW' => $row_obj[3]
));
$val=$val+6;
}
//JAVASCRIPTENDE
Ein link dazu gibts leider nicht da ich es lokal laufen habe.
Gruß, danke
edit...
Also der Firebug meinte:
Das dort der Fehler ist hab ich auch schon gemerkt aber sonst sagt mir das auch nicht mehrmissing : after property id
[Break on this error] document.getElementById({javascript.POS}+{javascript.ROW}).click(); \n
javascript_obj.js (line 10)
