请教,我给vs安装了xheditor, 程序为:
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<script type="text/javascript"> $(document).ready(function () { $(".xheditor1").xheditor(true, { tools: 'simple', upLinkUrl: "../Link", upLinkExt: "zip,rar,txt", upImgUrl: "../Upload", upImgExt: "jpg,jpeg,gif,png", upFlashUrl: "../Upload", upFlashExt: "swf", upMediaUrl: "../Upload", upMediaExt: "avi" }); }); </script>
。。。。
@Html.TextAreaFor(model => model.Content, new { @class = "xheditor1", rows = "12", cols = "100" })
为什么只显示一个文本框,所有xheditor的tool都没显示!
晕,是我没引js
请问这个上传图片的代码你怎么写啊
很久没用了忘记了,我也不知道当时有没有测过上穿图片