随笔分类 - Javascript
摘要:<html> <head> <title>christree</title> </head> <body style="background:#111"> <script type='text/javascript'> var $ = function(){ var dom = {}; retu...
阅读全文
摘要:<html><head><meta http-equiv="Content-Type" content="text/html;charset:utf-8"/><title></title><style></style><script type='text/javascript'>var $ = func...
阅读全文
摘要:先从一个简单的例子说起,一个简单的button控件如下:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><inputtype='button'name='mybtn'id='mybtn'onclick='myFunc()'/>然后为其注册事件,这样的情况,怎么在javascript里获取event呢,特别是firefox的情况。请看:Code highlighting
阅读全文

浙公网安备 33010602011771号