I've always used ajax to load() the contents of a DOM element but now I'm trying set a form field value with the result of the following query:
$('#form_field').load(base_url+'ajax/get_yearly_fee', {
'q_value': $(this).val(),
'client_id': $("#fee_client_add").val()
});
What's the best way to do this?