Calling ajax function from jquery on change event Would appreciate help on a design strategy.

On a form I have an auto complete text field that I would like to populate with two separate values based on a radio button selection.

Currently the first radio button is loaded via an ajax call on load via hook_menu. 

function hook_menu() {
$items = array();

$items['module/state_autocomplete'] = array(
        'page callback' =&gt; 'state_autocomplete',
        'access arguments' =&gt; array('create states'),
        'type' =&gt; MENU_CALLBACK,);


Can I attach an ajax call to an on change event that will reload the text field without reloading the page? 

For example:
Can I attach an ajax call to an on change event that will reload the
  text field without reloading the page?


If that's your question, then the answer is yes, you can. 

If you meant to ask how to do that, then please refer to Ajax Forms documentation for Drupal 8 or Drupal 7.

If you hit any problem when implementing it, then come back giving us the details of specific issue as provided information does not describe what the problem is.