JavaScript Tutorial/jQuery/remove
Версия от 21:52, 25 мая 2010; (обсуждение)
Remove just added
<source lang="javascript">
<html>
<head>
<script type="text/javascript" src="js/jquery-1.3.2.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("div").hover(
function () {
$(this).append($(" ***"));
},
function () {
$(this).find("span:last").remove();
}
);
}); </script>
</head> <body> <body>
header 1
</body>
</html></source>