Adding auto-complete to custom gravity field not working
I have solved my problem using below code.So may be helpful for someone.I have tried by reference style for autocomplete <script> var locations=”<?php echo $json;?>”; var locations_array = JSON.parse(locations); locations_array.sort(); function monkeyPatchAutocomplete2() { jQuery(“#result”).remove(); // Don’t really need to save the old fn, // but I could chain if I wanted to var oldFn = … Read more