I'm working on a module where I have a form inside of a block, I'm using Ajax
to submit the form, but I noticed that the form's inputs are disabled when sending a request with Ajax. Well in my case I want to keep using the form's input (keyup event) and displaying the result for each request.
// my current code
$form['combine'] = array(
'#type' => 'textfield',
'#size' => 255,
'#maxlength' => 128,
'#attributes' => array('placeholder' => 'Search'),
'#ajax' => array(
'callback' => 'ajax_filter_callback',
'effect' => 'fade',
'wrapper' => 'result-content',
'event' => 'keyup',
),
);