ok normally you have a jquery for this: i have tried to use this but it is not working.
<!– div class=”wcsearch-search-input” <?php // echo $search_model->getOptionsString();?>> –>
<input type=”submit” name=”search1″ class=”wcsearch-search-input-button wcsearch-btn wcsearch-btn-primary” value=”<?php echo esc_attr($text); ?>” />
<script>jQuery(document).ready(function($) {jQuery(“#sss-sidebar-source-div-1”).smartTabDrawer(“close”);});</script>
<!– –>