`
fendou-cheng
  • 浏览: 12897 次
  • 性别: Icon_minigender_1
  • 来自: 河北石家庄
社区版块
存档分类
最新评论

My97 老版本去掉onclick事件

阅读更多

//增加

function bindMy97(el) {
 unbindMy97(el);
 $(el).click(function() {
  WdatePicker({skin:'whyGreen'});
 }).addClass('Wdate').attr('disabled', false);
}

//去除my97

function unbindMy97(el) {
 $(el).unbind('click').removeClass('Wdate').attr('disabled', true);
}

分享到:
评论

相关推荐

    Android 点击TextView 改变背景色

    除了在Java代码中设置监听器,你也可以在布局XML文件中使用`android:onClick`属性指定点击事件的处理方法。但这需要你在对应的Activity或Fragment中声明该方法。 ```xml android:id="@+id/my_text_view" ...

    js使用小技巧

    对象绑定事件 document.all.xxx.detachEvent("onclick",a); 插件数目 navigator.plugins 取变量类型 typeof($js_libpath) == "undefined" 下拉框 下拉框.options[索引] 下拉框.options.length 查找对象 ...

    自定义Dialog

    View dialogView = LayoutInflater.from(context).inflate(R.layout.my_dialog, null); // 创建Dialog实例 final Dialog dialog = new Dialog(context); dialog.requestWindowFeature(Window.FEATURE_NO_TITLE); //...

    BootStrap的alert提示框的关闭后再显示怎么解决

    我们可以去除这个属性,并添加一个自定义的`onclick`事件处理程序,如下所示: ```html <button type="button" class="close" onclick="$('#my_alert').hide();"> × ``` 这样,当用户点击关闭按钮时,...

    android webview实用demo

    本教程将详细讲解如何创建一个实用的Android Webview,包括去除系统自带标题栏,自定义进度条,添加标题以及顶部布局,并实现关闭功能。 首先,我们需要在`AndroidManifest.xml`中为应用添加Internet权限,因为...

    freemarker总结

    旧版本的freemarker采用的是<#comment> 注释 方法 sequences内置方法 sequence?first 返回sequence的第一个值;前提条件sequence不能是null sequence?last 返回sequence最后一个值 sequence?reverse 反转sequence...

    Tapestry字典0.1.pdf

    - **示例**: `public class MyCustomComponent extends AbstractComponent {...}` **4.2 组件嵌套** - **实现**: 在一个组件内部嵌套另一个组件。 - **示例**: `...

Global site tag (gtag.js) - Google Analytics