Skip to main content

Bug Tracker

Side navigation

Ticket #4417: jquery_close.html
File jquery_close.html, 0.4 KB (added by boneazul, March 25, 2009 06:12AM UTC)
<html>
	<head>
		<script src="http://code.jquery.com/jquery-latest.js"></script>
		<script>
			$(function(){
				$("#test").attr('name',$("#test").attr('name')+"[]");
				var obj_tr_clone=$("#line").clone(true);
				alert(obj_tr_clone.html());
			});
			
			
		</script>
	</head>
	<body>
		<table>
			<tr id="line">
				<td><input id="test" name="a"></td>
			</tr>
		</table>
	</body>
</html>

Download in other formats:

Original Format