需要用到:ajaxfileupload <!DOCTYPE?html>
<html>
<head>
<meta?http-equiv="Content-Type"?content="text/html;?charset=UTF-8">
<title>Insert?title?here</title>
<script?src="http://libs.baidu.com/...
分类:
Web程序 时间:
2015-06-06 00:33:28
阅读次数:
155
写python+selenium自动化脚本免不了要用到js,练习执行js命令,excute_script(js_command),但是在robotframework中使用相同方法执行报错,调整后执行通过,记录一下O(∩_∩)O~
分类:
编程语言 时间:
2015-06-05 19:12:06
阅读次数:
372
% Matlab script to illustrate the secant method% to solve a nonlinear equation% this particular script finds the square root of a number M% (input by ...
分类:
其他好文 时间:
2015-06-05 11:32:42
阅读次数:
131
有了这些定位信息,那要如何在前端的页面上显示出来呢?这需要用到百度地图的JavaScript的API。下面是示例代码。前端代码[html]view plaincopy地图注:(1).script中http://api.map.baidu.com后面的ak是申请的key,与前面文章中所说的key一致。...
maven的clean时报错 -Dmaven.multiModuleProjectDirectory system propery is not set.Check $M2_HOME environment variable and mvn script match.解决办法 1.添加M2_HO.....
分类:
其他好文 时间:
2015-06-04 19:00:15
阅读次数:
128
<script>
varws=newWebSocket("ws://114.215.103.25:9501");
ws.onopen=function(){
console.log("握手成功");
};
ws.onmessage=function(messageEvent){
console.debug(messageEvent.data);
};
ws.onerror=function(errorEvent){
console.log(errorEvent);
};
..
分类:
Web程序 时间:
2015-06-04 17:26:34
阅读次数:
148
using System;using System.Collections.Generic;using System.Web.Script.Serialization;using System.Configuration;using System.Runtime.Serialization.Json...
今天学习鸟哥的私房菜,照着书上敲了几个shell脚本,但是总报错首先就是使用[ ]进行条件判断时,==不能正常使用其次就是在脚本里声明变量使用declare,总是报错说,not found在网上查找原因,说是ubuntu使用的dash 而不是bash ,所以在执行脚本时若敲如命令 sh script...
分类:
系统相关 时间:
2015-06-04 13:35:20
阅读次数:
154
href 表示超文本引用(hypertext reference),在 link、a 等元素上。src 表示来源地址,在 img、script、iframe 等元素上。src 的内容,是页面必不可少的一部分,是引入。href 的内容,是与该页面有关联,是引用。区别就是,引入和引用。注意,link 的...
分类:
Web程序 时间:
2015-06-04 13:15:16
阅读次数:
143
$.getScript("ajax/test.js", function() { alert("Load was performed."); });等价于:$.ajax({ url: url, dataType: "script", success: success});
分类:
编程语言 时间:
2015-06-04 11:38:58
阅读次数:
127