码迷,mamicode.com
首页 >  
搜索关键字:btn    ( 2660个结果
Python Tkinter基础控件入门实例
分享一个Python Tkinter基础控件用法的入门例子,包括窗口的显示、显示内置图片、弹出窗口、菜单等.例子,Python Tkinter基础控件的用法# -*- coding: utf-8 -*-from Tkinter import *def btn_click():b2['text'] =...
分类:编程语言   时间:2014-09-04 06:18:57    阅读次数:395
js初学—js全自定义单选框
代码如下:window.onload=function(){var oIput=document.getElementsByTagName('input');var Obtn=document.getElementById('btn');for(var i=0;i1、这周星期天你干什么?看书睡觉吃饭...
分类:Web程序   时间:2014-08-31 21:13:11    阅读次数:254
UIButton基本用法
UIButton *btn = [UIButton buttonWithType:UIButtonTypeRoundedRect];...
分类:其他好文   时间:2014-08-30 08:49:09    阅读次数:173
RelativeLayout.LayoutParams 使用addRule失效的问题解决办法
Button btn1;btn1.setId(1001);int width; // layout width;int btnWidth; // btn width;int btnHeight; // btn height;…….RelativeLayout.LayoutParams p = ne....
分类:其他好文   时间:2014-08-29 14:25:18    阅读次数:218
Python Tkinter 基础控件学习
# -*- coding: utf-8 -*- from Tkinter import * def btn_click(): b2['text'] = 'clicked' evalue = e.get() print 'btn Click and Entry value is %s' % evalue def btn_click_bind(event): pr...
分类:编程语言   时间:2014-08-28 00:59:58    阅读次数:269
Ext中获取button的思考
今天在获取window中的button时,发现通过component无法获取,具体表现为: Ext.getCmp('loginForm').ownerCt.getComponent('btn_login') //获取的内容为空Ext.getCmp('loginForm').ownerCt.down(...
分类:其他好文   时间:2014-08-27 12:29:37    阅读次数:296
3_全选菜单
HTML代码: 1 全选 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 JS代码:1 window.onload=function(){2 var oBtn=document.getElementById('btn');3 var oInpu...
分类:其他好文   时间:2014-08-26 19:04:16    阅读次数:213
2_展开菜单
HTMl代码:1 输入法2 3 搜狗输入法4 智能全拼输入法5 腾讯输入法6 日文输入法7 8 CSS代码:1 *{ margin:0; padding:0;}2 div{ width:140px; overflow:hidden; font-size:14px; }3 #btn{ display:...
分类:其他好文   时间:2014-08-26 17:04:26    阅读次数:297
TP 框架 ajax[利用异步提交表单]
1 //[] 2 3 $(function () { 4 $("#send-btn" ).click(function (){ 5 //接受表单的值 6 var username=$('input[name=us...
分类:其他好文   时间:2014-08-26 00:15:05    阅读次数:505
ownDocument和documentElement
1 2 3 4 5 6 Index20140825 7 8 9 10 11 12 13 14 document.getElementById('btn').ownerDocument.nodeName 返回节点所属的根元素documen...
分类:其他好文   时间:2014-08-25 13:10:04    阅读次数:221
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!