www.webdeveloper.com
Results 1 to 3 of 3

Thread: non-functionning js on one site but not the other...

  1. #1
    Join Date
    Aug 2013
    Posts
    2

    non-functionning js on one site but not the other...

    I am currently using javascript to open pop-up calculator windows on a website. The javascript functions fine when on my "test" site here:

    http://www.grandislander.org/crossro...lculators.html

    but when moved to the clients server, with the path to CalcParams.js properly modified, the javascript no longer works:

    http://www.crossroadscommunityfcu.com/Calculators.html

    any insight would be appreciated. thanks, Don.

  2. #2
    Join Date
    Mar 2011
    Posts
    1,137
    The way you uploaded the page to the server without any line breaks, it's introduced a syntax error in your JavaScript for the window open code where there's no ending ";" in the code that sets the window parameters. Best to get in the habit of always using a ";" to terminate your lines in JavaScript so you won't run into this problem again.
    Rick Trethewey
    Rainbo Design

  3. #3
    Join Date
    Aug 2013
    Posts
    2
    Thanks! really appreciate your help.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles