Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Nov 2003
    Location
    Culver City California
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Error on page - getting rid of this?

    I am trying to get rid of the "error on Page" that shows up in the lower left hand cornor of IE. On the site http://nissangg.com the error is "Syntax Error " or "object expected". Thanks for any info. Richard

  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    It seems like it might be coming from this JS function:
    Code:
    function launchApp(){
        url='https://www.hotlinkhr.com/home.asp?xu=SDA89902&xt=676FC26D743F3A';
        args='resizable=1,scrollbars=1,toolbar=0,location=0,directories=0,';
        args+='status=no,menubar=no,width=720,height=550,top=0,left=0';
        window.open(url, 'winHotlinkApp', args);}
    I don't see any obvious error, what is making me think that is the source of the problem is that the web developer tool in Firefox says:
    Error: missing } in XML expression
    Source File: http://nissangg.com/
    Line: 11, Column: 74
    Source Code:
    url='https://www.hotlinkhr.com/home.asp?xu=SDA89902&xt=676FC26D743F3A';
    OracleGuy

  • #3
    Senior Coder
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    2,636
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I think maybe you should encode the symbols (?, ., /, :, &, and =) ?

    Try this for the URL -

    https%3A%2F%2Fwww%2Ehotlinkhr%2Ecom%2Fhome%2Easp%3Fxu%3DSDA89902%26xt%3D676FC26D743F3A

    (I encoded the whole lot because I couldn't be bothered to do each symbol seperately...)


  •  

    Posting Permissions

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