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
  • #194998

    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) :

    when I run it in Apache : Thanks, your help is appreciated


    I spent lot of time, but could not figure it out, I created another simple html file :

    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.

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