Auto check retain filters checkbox on search page

search retain checkbox

jQuery('#edit-retain-filters').attr('checked',true');

See also: Search