<script>
KindEditor.ready(function(K) {
var editor = K.editor({
cssPath : '../plugins/code/prettify.css',
uploadJson : '../asp/upload_json.asp',
fileManagerJson : '../asp/file_manager_json.asp',
allowFileManager : true
});
K('#J_selectImage').click(function() {
editor.loadPlugin('multiimage', function() {
editor.plugin.multiImageDialog({
clickFn : function(urlList) {
var div = K('#J_imageView');
div.html('');
K.each(urlList, function(i, data) {
div.append('<img src="' + data.url + br+'">');
});
editor.hideDialog();
}
});
});
});
});
</script>
<input type="button" id="J_selectImage" value="批量上传" />
<div id="J_imageView"></div>
<input id="tp" name=“tp” />
这能插入到div 中 如何修改能全部插入div的同时 插入 id为tp的 input中,
求详细代码、