Ich benutze dieses Skript und bekomme Fehler "Uncaught SyntaxError: fehlende) nach Argumentliste".Uncaught SyntaxError: fehlt) nach Argumentliste jQuery
Bitte helfen Sie mir, fiese Bug loszuwerden, verbrachte viel Zeit, aber nicht gelöst.
<script>
function endOfText(){
<?php
$free_text = '<div style="display:block;width:600px;height:340px;background-color:black;">
<div style="height:35px;"></div>
<div style="height:20px;width:600px;text-align:center;color:white;font-size:20px;">PARTIE SUIVANTE</div>
<div style="height:30px;"></div>
<div style="display:block;width:300px;height:170px;margin-left:150px;cursor:default;
background-image:url("'.$server_free.'thumb/'.$drama_tab['shortcut'].'/'.$drama_tab['shortcut'].$epiNB.'-'.$part_1.'_thumb.jpg");background-size:300px 170px;background-repeat:no-repeat;background-position:center;">
<div><a href="javascript:void(0)" onclick="send_epi('.$part_1.')"><img src="'.$http.'images/next_free.png"/></a></div>
</div>
<div style="height:40px;"></div>
<div style="width:600px;text-align:center;color:white;">Ou utilisez les boutons numérotés à droite</div>
</div>';
echo '$("#free_video").append("'.$free_text.'");';
?>
}
Kann ich den JavaScript-Code in Ihre HTML sehen? – IzumiSy
Ich versuche auch, indem doppelte Anführungszeichen entfernt, dann funktioniert es auch nicht –