зеркало из https://github.com/mozilla/gecko-dev.git
23 строки
272 B
HTML
23 строки
272 B
HTML
|
<html>
|
||
|
<head>
|
||
|
<script>
|
||
|
|
||
|
function init()
|
||
|
{
|
||
|
|
||
|
var x = document.getElementById("d");
|
||
|
x.__proto__ = document.getElementById("f");
|
||
|
x.inputname;
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
</head>
|
||
|
|
||
|
<body onload="init();">
|
||
|
|
||
|
<div id="d"></div>
|
||
|
<form id="f"><input name="inputname"></form>
|
||
|
|
||
|
</body>
|
||
|
</html>
|