JS代码中,进行Ajax处理后,根据后台逻辑判断、满足一定条件时,采用window.open()打开新页面时,会存在浏览器拦截该网页的情况,因为window.open()是打开一个新的页面,存在跨域的问题,所以浏览器拦截。解决办法是:ajax中将异步提交改为同步提交,即添加参数async:false,..
弹出窗口两种方式:1.window.showModalDialog:var feature = "dialogWidth:615px;dialogHeight:505px;status:no;help:no;scroll:no;resizable:no;center:yes";window.show...
XMLHttpRequest对象 XHRAjax核心XMLHttpRequest对象:xhr.open("get/post","example.txt",false);xhr.send(null);http://dev.yesky.com/91/2687091.shtmljQuery对Ajax进行了...
分类:
Web程序 时间:
2014-08-06 22:50:02
阅读次数:
228
由于Android下摄像头预览数据只能 ImageFormat.NV21 格式的,所以解码时要经过一翻周折.Camera mCamera = Camera.open();Camera.Parameters p = mCamera.getParameters();p.setPreviewFormat(...
分类:
移动开发 时间:
2014-08-06 22:14:02
阅读次数:
245
Error reading source.properties https://github.com/jayway/maven-android-plugin/blob/master/src/main/java/com/jayway/maven/plugins/android/AndroidSdk.java http://blog.csdn.net/wangjia55/article/deta...
分类:
移动开发 时间:
2014-08-06 19:34:02
阅读次数:
263
153网段配置到tfs服务器策略路由1、创建Acl访控列表(客户端到服务器)aclnumber31rule0permitipsource172.20.153.00.0.0.255
destination172.20.20.6502、创建Acl访控列表(服务器到客户端,此策略只需创建一个acl集,不同网段只需添加不同策略条目即可)aclnumber3002rule1pe..
分类:
其他好文 时间:
2014-08-06 19:31:32
阅读次数:
204
Step 1
Open MongoVUE and connect to the server that contains the collection “cities”
Step 2
Right-click on “cities” collection under “Database Explorer”, and select “MapReduce”. This will laun...
分类:
数据库 时间:
2014-08-06 19:07:42
阅读次数:
352
1.创建Tomcat7x的服务。 Window --> Preferences --> Server --> Runtime Environment2.在Servers窗口新建Tomcat7x实例,并打开该实例,进行配置。 a) Open launch configuration --> Cla.....
分类:
系统相关 时间:
2014-08-06 18:51:11
阅读次数:
324
查看是否为cdbSQL> select name,cdb,open_mode,con_id from v$database;NAME CDB OPEN_MODE ...
分类:
数据库 时间:
2014-08-06 18:43:05
阅读次数:
272
case描述: innodb中,父表和子表通过foreign constraint进行关联, 因为在更新数据时需要check 外键constraint,如果父表被大量的子表reference, 那么在open的时候,需要open所有的child table和所有的foreign const...
分类:
数据库 时间:
2014-08-06 18:38:21
阅读次数:
298