NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

daarsk's avatar
daarsk
Tutor
Oct 21, 2016
Solved

ReadyNAS 102 host website including JavaScript

Hi, I want to build and host a website from my ReadyNAS 102. I have a basic index.php file as follows... <!DOCTYPE html> <html> <body> <h1>JavaScript Test</h1> <?php echo "<p>Text by PHP</p>"; ?...
  • FramerV's avatar
    FramerV
    Oct 28, 2016

    Hi daarsk,

     

    Are you still referring to the date not showing? If you are, I think you just missed the command. Instead of "oneclick" it should be "onclick".

     

    <button type="button" onclick="document.getElementById('demo').innerHTML = Date()"> Click me to display date and time.</button>

     

    Hope this helps.

     

     

    Regards,

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More