I have a problem with the change event for txtState not firing I am using core.js and scriptaculous. Is there something about the autocompleter I am missing? The code is below
Code:
// Java Script File
//This file provides supporting JavaScript for the dealer network page

var stateText =
{

	
    init:
    {
        new Ajax.Autocompleter("txtState", "state_complete", "PScripts/autoCompleteStateHandler.php", {});
		
		stateElement = $('txtState');
        stateElement.onChange = stateChangeHandler();
    }
    
    
}

//Handle the change event for the state text box
function stateChangeHandler()
{
    //Set up Ajax Request Object
   new Ajax.Request(
      "/PScripts/list_cities.state="+$('txtState').value), //$F will get the value in the txtState control
      {
        method:"get",
        onComplete:function(xhr){
        citiesXML=xhr.response.xml;
        setCity(citiesXML);
      }
}


function setCity(cityData)
{
	cityArray = $A(cityData);
}

Core.start("stateText");