Usually, I include a lot of JavaScript on the website. However, the client informed me that they were unable to view the website correctly as they had disabled JavaScript on their end. After investigating, I discovered this issue.
Now, my dilemma is whether I should have two separate sets of source code: index_with_js.php
and index.php
, with separate files for the versions with Javascript enabled and disabled?
While it may not be a challenging task to do so, it certainly seems unnecessary and could drive anyone crazy. Does anyone have any better suggestions?