comma separated autoomplete jquery when source is static

comma separated autoomplete jquery when source is static

I have a textbox txtLocation which has autocomplete set. Now the requirement is when user press comma then again autocomplete should work. Please suggest.
  1. $(document).ready(function () {
    
                $("input#txtLocation").autocomplete({
                    source: ["Gurgaon", "Delhi", "Noida", "Chennai", "Kolkata", "Ahmedabad", "Bengaluru", "Pune", "Hyderabad",
                    "Mumbai", "Chandigarh", "Dehradun", "Lucknow", "Mysore", "Faridabad", "Jaipur", "Coimbatore"]
    
                });
    
            })