dcsimg
www.webdeveloper.com
Results 1 to 6 of 6

Thread: Javascript problem on server

  1. #1
    Join Date
    Aug 2011
    Posts
    8

    Javascript problem on server

    Why sometimes javascript doesn't run on the server but locally it's works perfectly? Which can be the reasons?

  2. #2
    Join Date
    Apr 2006
    Location
    Perth
    Posts
    154
    You need to be more specific. If this were a gardening forum your question would be
    similar to, “Why does my flower grow in the garden but not in my kitchen?” There are a
    million reasons.

    One major reason why JavaScript does not work on a server is because it was not
    designed to do that.

    Perhaps you mean to ask why your script functions locally from your hard drive but
    fails when accessed as an online webpage from a server.

    Again, there are millions of reasons. An example would be helpful. (Actually, an example
    is probably the only way anyone can help you.)

    Please supply more details.

  3. #3
    Join Date
    Aug 2011
    Posts
    8
    I use same script on two websites. It's a slideshow... On www.prestigeleather.ro works perfect bun on www.pielevertu.ro doesn't work.
    Sorry for my poor english!

  4. #4
    Join Date
    Aug 2011
    Posts
    8
    I use same script on two websites. It's a slideshow... On www.prestigeleather.ro works perfect bun on www.pielevertu.ro doesn't work.
    Sorry for my poor english!

  5. #5
    Join Date
    Apr 2006
    Location
    Perth
    Posts
    154
    Your English is perfectly adequate. But your description of the difficulty you are having is
    very poor. What script? What is the problem? What should it do?

  6. #6
    Join Date
    Aug 2011
    Posts
    8
    I found the problem. I could not give you more details beacause the script it's the same. The problem is capitalization in path. I have in the <head>
    <script src="Scripts/ReMooz.js" type="text/javascript"></script>
    and the folder is scripts/... .
    Thanks for quick response!

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