[Koha] Input box focus

Chris Cormack chris at katipo.co.nz
Fri Feb 2 07:36:29 NZDT 2001


On Thu, Feb 01, 2001 at 08:36:38AM -0800, Tonnesen Steve said:
> 
> Chris:
> 
> Are the input boxes automatically getting the focus when a page loads?  I
> added a little chunk of javascript to my circ-top.inc to give the focus to
> the first input box on a page to make barcode scanner entry easier.  The
> focusinput() function should probably check to make sure that
> document.forms[0].elements[0] exists first to avoid any possible errors...
> 
Yep thanks Steve

I added the code that you had posted for cat-top.inc a while back to
circ-top.inc and it works like a dream.
I think one branch of the Horowhenua library did a batch of its returns yesterday
afternoon with the web circulation module. Without a hitch.

Chris




More information about the Koha mailing list