how to use jquery validation with jquery autocomplete in my code
hi i am using codeigniter . i am using ajax autocomplete for jquery and jquery validation plugin there is input box called city <input type="text" class="city" name="city" value=""> i use autocomplete for this inputbox jquery code var a = jq('.city').autocomplete({ serviceUrl:"<? echo $this->config->item('base_url'); ?>home/auth/city_autocomplete", }); image of this when i select a value from the drop down the jquery validation plugin gives an error , 'min length 3'. but the city name is greater than 3 charactors this is my validation plugin code var x=jq("#contactinfo").validate({ rules: {