<html> <head> </head> <body> <div id='feedback' onClick='goodbye()'>Users without Javascript see this.</div> <script type='text/javascript'> document.getElementById('feedback').innerHTML='Hello World!'; function goodbye() { document.getElementById('feedback').innerHTML='Goodbye World!'; } </script> </body> </html>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)