This is very strange. The script looks fine. In fact, if I make a local copy of the page and set it up to use the script on your server, it works fine in FF. I believe that it may be your DOCTYPE, or perhaps something about the host settings. In any case, when the script gets served on the live page, it is filled with gibberish. This is something to do with the character encoding, but shouldn't be a problem for FF unless the server is doing something to the character encoding.
Try replacing:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
with:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
Also, try replacing:
Code:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
with:
Code:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
If one or the other or both of those don't fix it, it is probably some setting on the server.
Bookmarks