I have a DropDownlist of country states, when i select a state i want to populate a autocomplete editbox with jquery with all the posible results so the user can find the correct city in the current state. Till now i coded the following...
//result is an array opf all the posible values...
And it works nice but the problem is when i pick another different state, all the old locations remain in the memory (it seems that jquery appends all the new items), i want to overwrite them!!
Can i reset all the values of the autocomplete editbox in jquery?