21,893
社区成员




<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script src="https://code.jquery.com/jquery-3.1.0.js"></script>
<script>
$(function(){
$('textarea').bind('input propertychange',function(){
alert('asd');
})
})
</script>
</head>
<body>
<form name="example" method="post" action="demo.php">
<textarea name="content1" id="content1" style="width:700px;height:200px;">66666666</textarea>
<br />
<input type="radio" id="id">
<input type="submit" name="button" value="提交内容" /> (提交快捷键: Ctrl + Enter)
</form>
</body>
</html>