上一页 1 2 3 4 5 6 ··· 10 下一页

2018年12月7日

摘要: pragma solidity ^0.4.10; contract Byte{ bytes [] public T=new bytes[](3); function setLeng(uint len) public{ T.length=len; T.push('0x11'); } //bytes [5... 阅读全文

posted @ 2018-12-07 10:41 eilinge 阅读(600) 评论(0) 推荐(0) 编辑

2018年12月6日

摘要: pragma solidity ^0.4.0; contract EMath{ string public _a="lin"; function f() public{ modify(_a); } //function modify(string storage name) private{ function... 阅读全文

posted @ 2018-12-06 18:01 eilinge 阅读(1554) 评论(0) 推荐(0) 编辑

2018年12月5日

摘要: pragma solidity ^0.4.0; contract base{ address public _owner=msg.sender; uint _a; string internal _b ; uint private _c; //uint external _d;ParserError: Expected identifier but go... 阅读全文

posted @ 2018-12-05 23:34 eilinge 阅读(2137) 评论(0) 推荐(0) 编辑

2018年11月30日

摘要: 菜鸟教程(runoob.com) 使用 jQuery AJAX 修改文本内容 获取其他内容 使用 jQuery AJAX 修改该文本 获取外部内容1 获取外部内容2 菜鸟教程(runoob.com) demo_test.php : 发送一个 HTTP GET 请求页面并获取返回内容 发送一个 HTTP POST... 阅读全文

posted @ 2018-11-30 17:11 eilinge 阅读(6597) 评论(0) 推荐(0) 编辑

摘要: 获得内容: text() - 设置或返回所选元素的文本内容 html() - 设置或返回所选元素的内容(包括 HTML 标记) val() - 设置或返回表单字段的值 这是一个有 粗体 字的段落。 这是另外一个有 粗体 字的段落。 显示 新/旧 文本 显示 新/旧 HTML 菜鸟教程 修改 href 和 title 菜鸟教程 修改 href 值 ... 阅读全文

posted @ 2018-11-30 15:03 eilinge 阅读(202) 评论(0) 推荐(0) 编辑

摘要: selector: 操作(DOM)/$(selector).action(): 阅读全文

posted @ 2018-11-30 13:51 eilinge 阅读(129) 评论(0) 推荐(0) 编辑

摘要: 鼠标事件: click dblclick mouseenter:鼠标进入 mouseleave:鼠标离开 hover:鼠标悬停 菜鸟教程(runoob.com) 鼠标移动到该段落。 单击 双击 键盘事件 keypress:键被按下 keydown:键被按下的过程 keyup:键盘被松开 菜... 阅读全文

posted @ 2018-11-30 13:33 eilinge 阅读(222) 评论(0) 推荐(0) 编辑

2018年11月29日

摘要: 在部署宠物商店时遇到的一些坑,给大家总结一下,以免大家多走弯路 转载的地址(详细):https://steemit.com/cn/@lucia3/ethereum-pet-shop 启动"npm run dev": bootstrap.min.js:6 Uncaught Error: Bootstrap's JavaScript requires jQuery at bootstrap.mi... 阅读全文

posted @ 2018-11-29 14:16 eilinge 阅读(217) 评论(0) 推荐(0) 编辑

2018年11月28日

摘要: /* 事件是使用EVM日志内置功能的方便工具,在DAPP的接口中,它可以反过来调用Javascript的监听事件的回调。 事件在合约中可被继承。当被调用时,会触发参数存储到交易的日志中(一种区块链上的特殊数据结构)。 这些日志与合约的地址关联,并合并到区块链中,只要区块可以访问就一直存在 */ myContract.once(event[, options], callback) //单次订... 阅读全文

posted @ 2018-11-28 15:51 eilinge 阅读(455) 评论(0) 推荐(0) 编辑

摘要: web3.js_1.x.x的使用和网上查到的官方文档有些不同,我对经常使用到的API进行一些整理,希望能帮到大家 转载博客:http://www.cnblogs.com/baizx/p/7474774.html pragma solidity ^0.5.0;//指定和solcjs中的solidity编译版本一致 contract MyToken { /* 10000,"e... 阅读全文

posted @ 2018-11-28 15:41 eilinge 阅读(2071) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 10 下一页