1 function funPostBack(srvMethod){ 2 /* 3 var
contentNR=$(document.getElementById("reportFrame").contentWindow.document).find("#conte...
分类:
Web程序 时间:
2014-05-01 12:58:08
阅读次数:
643
内容 内容 内容内容$("span").click(function(){
alert($(this).index()+1);});
分类:
Web程序 时间:
2014-05-01 00:10:00
阅读次数:
463
@model MvcApplication1.Models.M_Person@using
MvcApplication1.Models;@{ ViewBag.Title = "GetData"; var p = ViewData["data"] as
M_Person; var p...
分类:
Web程序 时间:
2014-05-01 00:00:48
阅读次数:
486
今天继续研究js,发现一个代码载入后立即执行函数的写法。(function asd(){
cc.log(3); //输出3})(); 下面是一个待商榷的问题var myTest = function(){};myTest.prototype = {
theOne:function(){...
分类:
其他好文 时间:
2014-04-30 23:47:23
阅读次数:
419
/**************************************************************************************
* Function : 快速排序 * Create Date :...
分类:
其他好文 时间:
2014-04-30 23:09:34
阅读次数:
458
当油量不够时从走过的油站中选最大加油量的
#include
#include
#include
#include
using namespace std;
#define MAX_N 10005
struct node{
int dist,fuel;
}t[MAX_N];
bool cmp(const node &a,const node &b)
{
return a.dist<b.dis...
分类:
其他好文 时间:
2014-04-28 10:44:43
阅读次数:
335
大数乘法的步骤(先戳我看看大数加法的思想):
首先我们输入要相乘的2个数字,然后逆序。用2层循环来相乘,把下标[i]*[j]计算的结果放在下标[i*j-1]中(下标从1开始),建议及时处理进位问题(char字符范围比较小)。
最后从高位开始输出。
#include
#include
#define MAX 1000
using namespace std;
void InputN...
分类:
其他好文 时间:
2014-04-28 10:24:42
阅读次数:
371
二维码的用处俺也就不说了,看一下用PHP生成的二维码吧。
利用谷歌提供的API 生成二维码,现在很多国外网站都提供了这类API
看下代码吧《=======================》
<?php
$urlToEncode="http://gz.altmi.com";
generateQRfromGoogle($urlToEncode);
function generateQRfro...
分类:
Web程序 时间:
2014-04-27 22:33:19
阅读次数:
339
BP神经网络
function [W,err]=BPTrain(data,label,hiddenlayers,nodes,type)
%Train the bp artial nueral net work
%input data,label,layers,nodes,type
%data:dim*n
%label:1*n
%layers:m:number of hidden layers
%...
分类:
其他好文 时间:
2014-04-27 21:48:00
阅读次数:
460
高手就可以直接跳过了,刚开始学习javascript,从零开始, 记录一点一滴,不断提高。菜鸟的不断成长。
下面就写上几个简单的JS 入门代码吧。高手就不要BS了
function changeImage(){
element=document.getElementById("myimage")
if(element.src.match("bulbon")...
分类:
编程语言 时间:
2014-04-27 21:18:00
阅读次数:
340