i been now hanging on this for like a hour and cant finde the problem. Its driving me crazy
$script .=nl().'$(this).html("<img src="'.CDN('/icons/loading/loading5.gif').'" />");';
i get the error:
SyntaxError: missing ) after argument list
$(this).html("<img src="https://cdn.connexservice.com/icons/loading/loading5.gif...
and the arrow showson the h of the https.. I must been missing a ' or a " somewhere... Hopefully some one got a better eye on this..
bah.. quick edit, found the problem, but , it wont show the gif.
$script .=nl(). '$(this).html("<img src=\''.CDN('/icons/loading/loading5.gif').'\' />");';
this is shown in the source code:
$(this).html("<img src=\"https://cdn.connexservice.com/icons/loading/loading5.gif\" />");