[support] Javascript source error

Scott Holmes scott at bscottholmes.com
Sat Sep 25 18:07:53 UTC 2010


I'm including some javascript in a module.  The script:

echo "<script type=\”text/javascript\” src=\”http://images.citysearch.net/assets/pfp/scripts/tracker.js\”></script>";
echo "<noscript>";

This results in an error:

Failed to load source for: http://onepagers/node/%5C%E2%80%
9Dhttp://images.citysearch.net/assets/pfp/scripts/tracker.js%5C%E2%80%9D

It's adding the local url to the remote url and of course failing.
know I'm missing something fundamental here.  l() is inappropriate 

Thanks



More information about the support mailing list