Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript html data attribute stripped from my code in Apache

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #194998
    mlotfi
    Participant

    I am developing locally in my windows using Netbeans IDE and tomcat, data attributes work fine in my local tomcat, but when I checked in my code in the Apache server, and took a look in source code, I found out that all data attributes are stripped from the code :

    when I run my code locally (tomcat) : http://jsfiddle.net/mlotfi/b2y9Ls5o/

    when I run it in Apache : http://jsfiddle.net/mlotfi/az68hkb0/ Thanks, your help is appreciated

    #195115
    mlotfi
    Participant

    I spent lot of time, but could not figure it out, I created another simple html file :
    http://justpaste.it/j905

    locally it’s fine, but always I got undefined when run it under Apache.

    I will appreciate if you can give me an idea on how to find a solution to this problem.
    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.