kindeditor/examples/dynamic-load.html
(完整代码) 943B<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>Dynamic Load Examples</title>
<style>
form {
margin: 0;
}
textarea {
display: block;
}
</style>
<script charset="utf-8" src="jquery.js"></script>
<script>
$(function() {
$('input[name=load]').click(function() {
$.getScript('../kindeditor-min.js', function() {
KindEditor.basePath = '../';
KindEditor.create('textarea[name="content"]');
});
});
$('input[name=remove]').click(function() {
KindEditor.remove('textarea[name="content"]');
});
});
</script>
</head>
<body>
<h3>寮傛鍔犺浇</h3>
<form>
<textarea name="content" style="width:800px;height:200px;"></textarea>
<p>
<input type="button" name="load" value="鍔犺浇JS骞跺垱寤虹紪杈戝櫒" />
<input type="button" name="remove" value="鍒犻櫎缂栬緫鍣? />
</p>
</form>
</body>
</html>
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
