Side navigation
Ticket #4330: test.html
File test.html, 0.6 KB (added by eagletsui, March 11, 2009 02:37PM UTC)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" >
$(document).ready(function() {
$('#test').click(function(){
var $elements = $('input');
$("<div></div>").appendTo($elements );
});
});
</script>
<title>test</title>
</head>
<body>
<input type="text"/>
<button id = "test">Test</button>
</body>
</html>
Download in other formats:
Original Format
File test.html, 0.6 KB (added by eagletsui, March 11, 2009 02:37PM UTC)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" >
$(document).ready(function() {
$('#test').click(function(){
var $elements = $('input');
$("<div></div>").appendTo($elements );
});
});
</script>
<title>test</title>
</head>
<body>
<input type="text"/>
<button id = "test">Test</button>
</body>
</html>