jQuerySharp

码农软件 · 软件分类 · 其他开发相关 · 2019-10-29 14:42:40

软件介绍

jQuerySharp 是一个用 C# 来编写 jQuery 代码的C#类库,下面是生成的 jQuery 代码示例:

Type.createNamespace('JQuerySharp');

////////////////////////////////////////////////////////////////////////////////
// JQuerySharp.Example

JQuerySharp.Example = function JQuerySharp_Example() {
}
JQuerySharp.Example.prototype = {
   
    run: function JQuerySharp_Example$run() {
        var jq = jQuery('#test');
        jq.append('Some new content').append('A bit more');
        jq.attr('style', 'border:1px');
        if (jQuery.browser.msie) {
            alert('You\'re using IE');
        }
        jQuery('#clickme').click(Delegate.create(this, this.onClick));
        jQuery().ready(Delegate.create(this, this.onReady));
    },
   
    onClick: function JQuerySharp_Example$onClick() {
        jQuery('#newcontent').html('<h1>new stuff here</h1>');
        var test = jQuery('#cloneme').clone();
        var jq = jQuery('#newcontent');
        jq.attr('style', 'color:red').append('<p>This comes from attr</p>');
        jq.append(test);
    },
   
    onReady: function JQuerySharp_Example$onReady() {
        alert('Called from ready');
        var plugin = jQuery('#test');
        plugin.accordion();
    }
}

JQuerySharp.Example.createClass('JQuerySharp.Example');

本文地址:https://codercto.com/soft/d/17823.html

重来

重来

[美] 贾森·弗里德、[丹] 戴维·海涅迈尔·汉森 / 李瑜偲 / 中信出版社 / 2010-10 / 36.00元

大多数的企业管理的书籍都会告诉你:制定商业计划、分析竞争形势、寻找投资人等等。如果你要找的是那样的书,那么把这本书放回书架吧。 这本书呈现的是一种更好、更简单的经商成功之道。读完这本书,你就会明白为什么计划实际上百害而无一益,为什么你不需要外界投资人,为什么将竞争视而不见反倒会发展得更好。事实是你所需要的比你想象的少得多。你不必成为工作狂,你不必大量招兵买马,你不必把时间浪费在案头工作和会议......一起来看看 《重来》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码