English 中文(简体)
我怎么能利用Jeditable的功能?
原标题:How can I use Jeditable Function?

How can I use this Jeditable function to reflect changes in the text. In asp.net web form I want to commit edited text to the DIV.

 <div class="editable_textarea">
        Headline Dear
    </div>



$( .editable ).editable(function(value, settings) { 
         console.log(this);
         console.log(value);
         console.log(settings);
         return(value);
      }, { 
         type    :  textarea ,
         submit  :  OK ,
     });

我需要再翻一页,以收集当时需要在第一页思考的价值。 或者,我可以直接这样做,而不必再作钱。 如果可能的话,用上面功能的px页,我怎么能够告诉我什么。

最佳回答

您所举的例子确实是你之后的,也许会删除<条码>console.log()电话:

$( #editable ).editable(function(value, settings) {
    return value;
}, {
    submit: "OK",
    type:  textarea 
});

See this in action:

问题回答

暂无回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签