62,272
社区成员
发帖
与我相关
我的任务
分享
<!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>
<title></title>
<script src="jquery-1.4.2.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
$(".red span").dblclick(function() {
//alert($(this).html());
window.open("J1.htm?on=" + $(this).html());
});
})
</script>
<style type="text/css">
.red
{
color: Red;
}
</style>
</head>
<body>
<div class="red">
<span>点击1</span><span>点击2</span><span>点击3</span><span>点击4</span><span>点击5</span>
</div>
</body>
</html>