遇到错误:XMLHttpRequest cannot load http://XXX.aspx. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhos...
分类:
其他好文 时间:
2014-07-03 06:49:45
阅读次数:
182
1. [代码][JavaScript]代码 01// remember to change every instance of "pluginName" to the name of your plugin!02// the semicolon at the beginning is there ....
分类:
Web程序 时间:
2014-07-02 23:05:23
阅读次数:
226
错误信息:
Error
Cannot display data
The data cannot be displayed: there is no viewpoint application for the data
错误出现情景:
在对程序做Hardware Event-based Sampling Analysis 0分析时,出现上述错误。
错误解决方法:
删...
分类:
其他好文 时间:
2014-07-02 09:02:56
阅读次数:
337
在工作中经常用到select,checkbox,radio,今天有点空闲就整理一下,免得以后用的时候还要重新找。
操作select下拉框
—— 获取值或选中项:
1, $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发
2,var checkValue=$("#select_id").val(...
分类:
Web程序 时间:
2014-07-02 08:56:52
阅读次数:
237
The Direct I/O (Load/Store) module(即是LSU) serves as the source of all outgoing direct I/O packets(LSU用于配置发起数据读/写的SRIO设备端,发起端发送Direct IO包). With direct I/O, the RapidIO packet contains the specific add...
分类:
其他好文 时间:
2014-07-02 08:48:15
阅读次数:
472
ERROR 1665 (HY000): Cannot executestatement: impossible to write to binary log since BINLOG_FORMAT = STATEMENTand at least one table uses a storage engine limited to row-based logging.InnoDB is limited to row-logging when transaction isolation level is REA...
分类:
数据库 时间:
2014-07-02 07:46:46
阅读次数:
322
//科室改变,级联医生 js $("#DepartmentId").change(function () { if (isNaN($(this).val())) { $("#DoctorId option:gt(0)")...
分类:
Web程序 时间:
2014-07-01 17:18:08
阅读次数:
210
有时候我们重写父类的init方法时不注意将init后面的第一个字母写成了小写,在这个方法里面又调用父类的初始化方法(self = [super init];)时会报错,错误信息如下:error:Cannot assign to 'self' outside of a method in the in...
分类:
其他好文 时间:
2014-07-01 17:00:40
阅读次数:
321
今天笔者需要一款图片上传插件,但是网上没有提供一款符合自己需求且好用的。于是就自己动手写了一个。
方法1,仅使用jquery代码,不用第三方插件。代码如下
上传图片
$(function() {
$('.inp_fileToUpload').change(function() {
var formdata = new F...
分类:
其他好文 时间:
2014-07-01 07:52:08
阅读次数:
220
今天尝试在线更新ADT的时候,遇到了这么个问题,从错误提示中初步看起来是存在引用的冲突:
其实就是当前要安装的插件与已安装的插件存在了冲突。
解决办法:卸载冲突的几个插件,可能很多人不知道如何卸载已安装的插件,这里我说下:
Help-->About Eclipse SDK,选择图中圈起来的地方:
然后会出现下面这个页面,卸载掉冲突的插件即可:...
分类:
系统相关 时间:
2014-07-01 06:53:18
阅读次数:
270