CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Other Programming Languages: Javascript:
An error is writing to my code...newbie


New User

Apr 21, 2003, 4:04 PM

Post #1 of 1 (48030 views)
An error is writing to my code...newbie Can't Post


I am very familiar with the Gossamer Threads Links2, and can manage some perl, but I have not done anything with js. I am using a guestbook that was written to go with Links, and it uses js for adding smilies. A small piece of code goes into the head of the file:

<script language="JavaScript1.2" type="text/javascript">
function addSmilie(smilie) {

When I try to use the guestbook, it will not add the new entry, but instead I see this if I look in the code (it's writing to my code!):

<script language="JavaScript">

function SymError()
return true;

window.onerror = SymError;


I have used this thing beforre, and it worked, so I'm not sure why it dosen't now? I have set my pages to XHTML Transitional, if that makes any difference. See the problem here:

I'm sure someone who knows their javascript can figure it out pretty quick, but I have no idea where to start! Attached is the code for the add page. Thanks!


(BTW, was referred here from this thread at the GT forums.)
Attachments: lgb_add.html (7.95 KB)


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives