Apparently, that refers to this line generated by the Tooltip plugin:Uncaught SyntaxError: Unexpected token )
Code: Select all
$('.tooltip').attr('href','javascript:void();');
Code: Select all
$('.tooltip').attr('href','javascript:void(0);');
Moderator: Tata
Apparently, that refers to this line generated by the Tooltip plugin:Uncaught SyntaxError: Unexpected token )
Code: Select all
$('.tooltip').attr('href','javascript:void();');
Code: Select all
$('.tooltip').attr('href','javascript:void(0);');
Code: Select all
text: '<div><div id=\"xh_mailform\"></div><form class=\"xh_mailform\" action=\"/? ...
Code: Select all
text: '<h4>Predbežná objednávka</h4><div><div class=\"advfrm-mailform\"><form name=\"preorder\" action=\"/?Kont ...
This escaping is caused by the addslashes() call at the end of function tooltip_get_page(), and escaping the double-quotes is fine here (i.e. for JavaScript) – it would be an error for single-quoted PHP strings, though. However, I prefer to pass PHP values to JS via json_encode().frase wrote: ↑Sun Jun 03, 2018 3:54 pmDie Maskierung der Anführungszeichen in den Scripts ist nicht nötig bzw. sogar hier falsch.
z.B in Zeile 352oder in Zeile 434:Code: Select all
text: '<div><div id=\"xh_mailform\"></div><form class=\"xh_mailform\" action=\"/? ...
Code: Select all
text: '<h4>Predbežná objednávka</h4><div><div class=\"advfrm-mailform\"><form name=\"preorder\" action=\"/?Kont ...