SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict say's Avatar
    Join Date
    Sep 2003
    Location
    At work
    Posts
    371
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    IE7 syntax error

    Hi,

    I have a simple code that IE7 keeps complaining but in FF, its working fine Anyone have any ideas?

    PHP Code:
    if (target_id != "")

         
    document.getElementById(target_id).innerHTML = eval(data);
    }
    else
    {
         
    args[args.length-1](eval(data)); // syntax error


  2. #2
    SitePoint Member
    Join Date
    Aug 2006
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looks OK to me. I would guess that the error might be inside the eval call. Is the syntax of the 'data' contents OK?

  3. #3
    SitePoint Addict say's Avatar
    Join Date
    Sep 2003
    Location
    At work
    Posts
    371
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Terribly sorry.a stupid mistake on my part. I forgot to turn on mail server
    The request is sent via ajax to the server to mail an email. No wonder it just hang there...

    Thanks for your reply anyway mathopenref.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •