Title: How to repeatedly check input value Post by: mars610 on March 19, 2012, 07:52:51 AM There is an example: a datebox 'A' and the other datebox 'B', i want to check datebox 'A' value is later than today and is later than value of databox 'B'.
Code snippets: $.extend($.fn.validatebox.defaults.rules, { isAfter: { validator: function(value, param){ ......; }, message: '......' } , isLaterToday: { validator: function(value, param){ ......; }, message: '......' } }); HTML: <input id="A" class="easyui-datebox" validType=""/> <input id="B" class="easyui-datebox" /> Title: Re: How to repeatedly check input value Post by: stworthy on March 19, 2012, 08:36:48 PM The JavaScript Code:
Code: $.extend($.fn.validatebox.defaults.rules, { The HTML Code: Code: <input id="A" class="easyui-datebox" validType="isAfter['#B']"/> |