码迷,mamicode.com
首页 >  
搜索关键字:alert me    ( 12018个结果
验证url 地址是否是图片
由于正则不是很熟悉所以面对这样的目前只能采取两步走一 判断url地址是否是正确的http二判断后缀是否是图片 格式/驗證URLfunction validUrl(strUrl){ strUrl = strUrl.match(/http:\/\/.+/); alert(strUrl); ...
分类:其他好文   时间:2014-05-10 08:11:09    阅读次数:310
Linux 设备驱动的第一个例子 。
Hello WorldLinux设备驱动的第一个例子。一.源程序(hello.c)#include#includeMODULE_LICENSE("DualBSD/GPL");staticinthello_init(void){printk(KERN_ALERT"Hello,world/n");ret...
分类:系统相关   时间:2014-05-10 07:40:47    阅读次数:408
数据类型以及相互转化
《一》数据类型(typeof)获取数据的类型;例如 var a=12; alert(typeof a);弹出的 是 Number;1. 数值number 例如 var = 12,此时变量便是一个数值2. 字符串string 例如 var a = "abc";此时数据类型便是 字符串3 对象 obje...
分类:其他好文   时间:2014-05-10 06:05:09    阅读次数:263
嵌套 click 第二层 click会叠加 导致 触发 多次
$("#appearHiddenDiv").click(function(){ $("#hiddenDiv").css({display:"block"}); $("#closeHiddenDiv").click(function(){ //alert("erhsh tes...
分类:其他好文   时间:2014-05-10 00:04:51    阅读次数:353
js弹出框、对话框、提示框、弹窗总结
一、JS的三种最常见的对话框//====================== JS最常用三种弹出对话框 ======================== //弹出对话框并输出一段提示信息 function ale() { //弹出一个对话框 alert("提示...
分类:Web程序   时间:2014-05-09 23:30:08    阅读次数:559
Sicily 1735 Encryption (模拟)
链接:http://soj.me/show_problem.php?pid=1735&cid= Description Let me introduce an easy method of encryption to you. Suppose there’re N bytes (1 byte = 8 bits) data that are to be encrypted and ...
分类:其他好文   时间:2014-05-09 22:46:01    阅读次数:498
在ASP.NET使用javascript的一点小技巧
在ASP.NET使用javascript的一点小技巧 我们在进行ASP.NET开发时,经常会用到一些javascript脚本,比如:  private void Button1_Click(object sender, System.EventArgs e)  {  Response.Write( "alert('OK');") ;  } 经常是重复的书写这些脚本,如果我们能做成一个相...
分类:编程语言   时间:2014-05-09 21:12:11    阅读次数:268
SXH232摄像头使用示范
It occurred to me suddenly that I wanted to program the our camera sensor for PC desktop, just like the one purchased from shop, which can make the video recording. Finally although the result seemed ...
分类:其他好文   时间:2014-05-09 14:58:02    阅读次数:373
在线mark.down编辑器
http://mahua.jser.me/
分类:其他好文   时间:2014-05-09 13:26:17    阅读次数:376
extjs rowedit update按钮不可用
重写Ext.override(Ext.grid.RowEditor, { addFieldsForColumn : function(column, initial) { var me = this, i, length, field; if (Ext.isArray(col...
分类:Web程序   时间:2014-05-09 10:31:24    阅读次数:411
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!