Making An Ajax Request On Mouse Key Up On A Text Field


I need to make an ajax request on keypress event on a page , although I am able to make ajax request on Ajaxlink and onchange event of a drop down , but in case of making a request on key press event on a text field I am not having any clue, I am writing the code for onchange event as follows


echo CHtml::dropDownList(‘function_parent’,’’,MasterData::getClassification(),


					'ajax' =&gt; array(








Can anyone help me out .