yuanwoneng

学习笔记

随笔分类 -  javascript

ajax 示例代码
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--varxmlHttp=false;try{xmlHttp=newActiveXObject("Msxml2.XMLHTTP");}catch(e){try{xmlHttp=newActiveXObje... 阅读全文

posted @ 2009-12-14 13:31 YWN's blog

前台验证 JavaScript ,不触发后台事件
摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->if((trim(document.getElementById('').value... 阅读全文

posted @ 2009-11-02 08:57 YWN's blog 阅读(215) 评论(0) 推荐(0)

屏蔽回车
摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 阅读全文

posted @ 2009-09-18 11:45 YWN's blog 阅读(183) 评论(0) 推荐(1)

js取ASP.NET服务器控件RadioButtonList选中的值
摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 阅读全文

posted @ 2009-09-17 15:49 YWN's blog 阅读(290) 评论(0) 推荐(0)

使TextBox中的小写变大写
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 阅读全文

posted @ 2009-07-22 10:33 YWN's blog 阅读(185) 评论(0) 推荐(0)

很不错的移动窗口代码
摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->varisIE=(document.all)?true:false;var$=fun... 阅读全文

posted @ 2009-04-24 15:47 YWN's blog 阅读(244) 评论(0) 推荐(0)

javscript取后台变量
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> function abc() { var n=''; alert(n+" liulei"); } 阅读全文

posted @ 2009-04-20 22:38 YWN's blog 阅读(116) 评论(0) 推荐(0)

javascript窗体移动代码
摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->vardrag_=falsevarD=newFunction('obj','retu... 阅读全文

posted @ 2009-04-20 08:51 YWN's blog 阅读(192) 评论(0) 推荐(0)

ajax向后台传参!!
摘要:Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->12functionMyupdate(btn)3{4varbtnId=btn.id;... 阅读全文

posted @ 2009-04-19 22:12 YWN's blog 阅读(207) 评论(0) 推荐(0)

javascript(1) 基础
摘要:基础 1.javascript是区分大小写的,和C#一样,变量,函数名,运算符一切东西都是区分大小写的.2.变量是弱类型的,定义javascript无需定义它的类型,定义变量只用var关键字,可以将它初始化成任何值var color="red";var num=25;var isGood=true; 3.注释与C#相同4用花括号封装结构 变量javascript是弱类型的,所以定义变量的时候使用v... 阅读全文

posted @ 2009-04-03 17:50 YWN's blog 阅读(129) 评论(0) 推荐(0)

javascript 概述
摘要:最近打算认真的学习javascript, 因为我是做b/s开发的,以前对javascript的了解并不深刻,用的时候就去网上查询,没有自主的权利,虽然能给页面添加些好玩的代码,但是不能真正理解javascript的为什么能起作用和如何起作用!归根结底就是对javascript缺乏了解.所以就从这里开... 阅读全文

posted @ 2009-04-03 16:39 YWN's blog 阅读(144) 评论(0) 推荐(0)