Как сделать image uploader для cleditor

Решение: смотрим проект Промо, компонент Templates используем надстройку плагина <script src=”/scripts/cleditor/jquery.cleditor.min.js” type=”text/javascript”></script> <script src=”/scripts/cleditor/jquery.cleditor.extimage.js” type=”text/javascript”></script> <script type=”text/javascript”> $.cleditor.buttons.image.uploadUrl = ‘/your/custom/upload/path’; </script> и делаем хэндлер, который принимает HttpPostedFile file = context.Request.Files[0]; […]

Использование Prototype

Решение: var Calculator = function (eq) {             this.eqCtl = document.getElementById(eq);         };         // using JSON         Calculator.prototype =         {             add: function (x, y) {                 var val = x + y;                 this.eqCtl.innerHTML = […]