Skip to main content

Bug Tracker

Side navigation

Ticket #5061: JQattrTest.php
File JQattrTest.php, 0.3 KB (added by busstation16, August 17, 2009 04:59PM UTC)

test file

<html>
<head>
<script type="text/javascript" src="jquery-1.3.2.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	var test = $('<input type="text" name="test">').appendTo('body'); 
	test.attr('disabled', 'disabled');	
});
</script>
</head>
<body>

</body>
</html>

Download in other formats:

Original Format