Search notes:
HTMLElement: inert
If an
HTMLElement's inert
attribute is set to
true
, the
browser ignores user input for that element.
In the following example, the text This text becomes inert is not selectable:
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<title>inert</title>
</head>
<style>
* { font-family: sans-serif }
</style>
<script>
function main() {
document.getElementById('two').inert = true;
}
</script>
<body onload='main()'>
<div id='one' >This is «normal» text.</div>
<div id='two' >This text becomes <i>inert</i>.</div>
<div id='three'>This is normal text, again.</div>
</body>
</html>
Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78
Stack trace:
#0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array)
#1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1743264405, '18.117.196.141', 'Mozilla/5.0 App...', NULL)
#2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/web/HTML/DOM/API/interfaces-classes/HTMLElement/inert(69): insert_webrequest()
#3 {main}
thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78