[Koha] JQuery Help to Choose Tab

Fridolin SOMERS fridolin.somers at biblibre.com
Tue Jun 3 19:58:27 NZST 2014


Hie,

I think I have a working code.
It simply simulates the user click on the tab title :

$(document).ready(function(){
   $("#header_search a[href='#catalog_search']").click();
});

Best regards,

Le 03/06/2014 04:38, Nicole Engard a écrit :
> Hi all,
>
> I'm wondering if you could help. I want to have 'Search the Catalog'
> selected first on the main staff client page, but the code has changed A
> LOT in 3.16 and my old JQuery doesn't work. Any tips on how to write this
> would be appreciated because my attempts have failed.
>
> Nicole
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>

-- 
Fridolin SOMERS
Biblibre - Pôles support et système
fridolin.somers at biblibre.com


More information about the Koha mailing list