我打算让我的文本框可编辑......所以我从禁用代码中删除了 id......即使我在小提琴中测试它也不起作用......在下面提供我的 cod......我正在提供我的部分代码在小提琴中我看不到文本框...
<!DOCTYPE html>
<html>
<head>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
</script>
<script>
$(document).ready(function(){
$("p").click(function(){
$(this).hide();
});
});
</script>
</head>
<body>
<p>If you click on me, I will disappear.</p>
<p>Click me away!</p>
<p>Click me too!</p>
</body>
</html>