I have manual validation piece of code working in chrome/firefox but not in IE. The code suppose to show "The entered value does not exists." if non of the value type in combobox is part of the combobox list.
How can make it workable in IE (error msg : cbbank is undefined, File: eval code (47), Line: 1, Column: 1)
// JavaScript $.extend($.fn.validatebox.defaults.rules,{ exists:{ validator:function(value,param) { var cc = $(param[0]); var v = cc.combobox('getValue'); var rows = cc.combobox('getData');
for(var i=0; i<rows.length; i++) { if (rows.bankName == v){return true} } return false; }, message:'The entered value does not exists.' } }); // HTML <input id="cbbank" name="bank" class="easyui-combobox" style="width: 350px;" value="${sp.bankName }" data-options="valueField:'bankName', textField:'bankName', validType: 'exists[cbbank]', url:'${createLink(controller:'serviceProviders', action:'bankList')}', mode:'remote', editable:true" /> Thanks