input-fieldset-3.html 544 B

123456789101112131415161718192021
  1. <!DOCTYPE html>
  2. <html class="reftest-wait">
  3. <link rel='stylesheet' type='text/css' href='style.css'>
  4. <script>
  5. function onloadHandler()
  6. {
  7. var fieldsets = document.getElementsByTagName('fieldset');
  8. fieldsets[1].disabled = true;
  9. fieldsets[0].disabled = false;
  10. document.documentElement.className='';
  11. }
  12. </script>
  13. <body onload="onloadHandler();">
  14. <fieldset disabled class="enabled">
  15. <fieldset class="disabled">
  16. <input class="disabled">
  17. </fieldset>
  18. </fieldset>
  19. </body>
  20. </html>