我不能在标题中使用脚本,这是代码:
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
<a href="javascript:void" class="sl-start">Click Here</a>
<p class="slide" style="display: none">Something to display</p>
<script>
$(".sl-start").click(function () {
$(".slide").show();
});
</script>
</body>
</html>