常用的Jquery选择器自带事件

    xiaoxiao2021-03-25  95

    当id为DateRules的input改变值时

    $("input[id^='DateRules']").change(function () { alert(233); });

    获得id为ExtraInfoKeyListDiv下所有tr的个数

    var number = $("#ExtraInfoKeyListDiv tr").length;

    在某方法中传入参数

    SetInput("#ExtraInfoKeyListDiv input");

      id为ExtraInfoKeyListDiv的 子input

    判断不为空的两种写法,,,

    if (insureCertiNo != "") where += " AND [InsureCertiNo]=@insureCertiNo"; if (string.IsNullOrEmpty(promoteCode) == false) where += " AND [promoteCode]=@promoteCode";

    转载请注明原文地址: https://ju.6miu.com/read-20879.html

    最新回复(0)