Source Code of: attributetest.htm
Date Last Modified: May 02, 2009 - 01:59:18 AM
Size: 314 Bytes  |  24 lines  |  314 characters
<html>
<head>

<script>

function createInput()
{
    var input = document.createElement('input');
    input.setAttribute('type', 'text');
    input.setAttribute('size', 4);
    document.getElementById('foo').appendChild(input);
}

window.onload = createInput;
</script>

</head>
<body>

<div id="foo">
</div>

</body>
</html>

A Derivative Work of: PHP Source Code Utility - Version 1.0.0 Copyright © 0php.com 2002.