码迷,mamicode.com
首页 >  
搜索关键字:HERE    ( 6715个结果
js(外部的javascript)
My Web PageA paragraphclike here注释:myFunction()保存在名为"myScript"的外部文件当中function myFunction(){ x=document.getElementById("demo"); x.innerHTML="you see";}...
分类:编程语言   时间:2014-08-07 12:48:40    阅读次数:247
在MFC对话框程序中使用加速键
新建一个基于对话框的工程,添加一个按钮,修改按钮ID,这里为ID_BTN_OPENFILE,为按钮添加消息响应事件,这里我打开文件保存对话框: void CAccelDlg::OnBtnOpenfile() { // TODO: Add your control notification handler code here CFileDialog dlg (TRUE); dlg.DoMo...
分类:其他好文   时间:2014-08-05 22:44:20    阅读次数:234
jsp+ajax+serverlet实现省市二级联动
jsp界面 Insert title here 省:城市:serverlet 获取地市数据package com.shxt.lesson15.servlets;import java.io.IOException;import java.io.PrintWriter;import...
分类:Web程序   时间:2014-08-05 22:20:00    阅读次数:380
jsp+iframe+serverlet实现文件上传
实现文件上传我想大家也都会这是jsp页面的代码index.jspInsert title here商品添加名称:类别:价格:数量:照片:描述: 这是iframe框架所引用的界面Iframe.jspInsert title here" width="100px" height="100px"/>...
分类:Web程序   时间:2014-08-05 21:57:20    阅读次数:284
UVA 10003 - Cutting Sticks
题目链接:Click Here~   题意分析:      给一根长为L的木棒,然后给出要切的N处地方。要你用最少的花费完成这项任务。而花费是如何计算的呢?就是用当前木棒的长度是多少,那么花费就是多少。 算法分析:     运用记忆化的过程可以缩减很多时间,本题的实质是区间DP。原题是经典的石子合并问题。如果,感觉不好理解可以想想图论中的Flody模型。 状态转移方程:dp[i][j...
分类:其他好文   时间:2014-08-05 14:18:29    阅读次数:191
将HTML格式的String转化为HTMLElement
代码如下: Insert title here var el = document.createElement("div"); el.innerHTML = ' titleValue hello '; var descElements = el.getElementsByTagName("head"); document.getElementById("content...
分类:Web程序   时间:2014-08-05 14:12:10    阅读次数:221
Absolute sort
Absolute sortLet's try some sorting. Here is an array with the specific rules.The array (a tuple) has various numbers. You should sort it, but sort it...
分类:其他好文   时间:2014-08-05 10:50:49    阅读次数:204
A trip through the Graphics Pipeline 2011_01
It’s been awhile since I posted something here, and I figured I might use this spot to explain some general points about graphics hardware and softwa....
分类:其他好文   时间:2014-08-05 00:38:08    阅读次数:279
DevExpress GridView 那些事儿
1:去除 GridView 头上的 "Drag a column header here to group by that column"--> 点击 Run Designer -> 找到:OptionView ->将 ShowGroupPanel : 设置为 false ;2:如何 显示出 Gri...
分类:其他好文   时间:2014-08-02 23:24:04    阅读次数:350
模块加载简单实现
代码仍有问题,就是导入jQuery后无法使用$问题。想参考RequireJS的做法(先去研究下):require(['jquery', 'underscore', 'backbone'], function ($, _, Backbone){ // some code here});本代码为原...
分类:其他好文   时间:2014-08-02 18:05:03    阅读次数:207
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!