$(document).ready(function () {
$("XDropDownList10").find(".yz-xform-field-ele-input").change(function () {
var Value = $("XDropDownList10").find(".yz-xform-field-ele-input").val();
if (Value != "" && Value != null) {
if (Value == "0") {
$.fn.validate = function(tips){
if($(XTextBox113).val() == "" || $.trim($(XTextBox113).val()).length == 0){
alert(tips + "不能爲空!");
throw SyntaxError(); //如果驗證不通過,則不執行後面
}
}
}
}
});
})