There is a filter on the information block page, you need to make sure that when you go to the information block page, the event of pressing the "find" button is triggered (the user goes to the information block page, and the filter immediately triggers without pressing the "find" button ). Help please implement

$oFilter->Buttons(); ?><span class="adm-btn-wrap"><input type="submit" id="btn1" class="adm-btn" name="set_filter" value="<? echo GetMessage("admin_lib_filter_set_butt"); ?>" title="<? echo GetMessage("admin_lib_filter_set_butt_title"); ?>" onClick="return applyFilter(this);"></span> <span class="adm-btn-wrap"><input type="submit" class="adm-btn" name="del_filter" value="<? echo GetMessage("admin_lib_filter_clear_butt"); ?>" title="<? echo GetMessage("admin_lib_filter_clear_butt_title"); ?>" onClick="deleteFilter(this); return false;"></span> 

I ask your help, what day wondering how to do it ((

  • First of all, set the task for yourself correctly. What does it mean to immediately click find? Do you want to reload the page? Explain why. Because with such a statement of the problem, the task itself seems to be nonsense. - Vorobyov Alexander
  • Or talking about the admin? - Vorobyov Alexander
  • Yes. But I have already implemented. If I'm interested in how I can throw off the code. - Evgeny Pivovarov

0