[Koha] jquery : barcode triggers submit

Jared Camins-Esakov jcamins at cpbibliography.com
Wed Jul 23 23:23:14 NZST 2014


Chad,

> A better solution is to remove this class :
>   $("tag_952_subfield_p_971027").removeClass("noEnterSubmit");

And, of course, you will need a valid selector. 971027 is a random
number, and the "tag_952..." is an id and not a tag name. Something
like $('input[id^="tag_952_subfield_p"]') might serve you better.

Regards,
Jared

-- 
Jared Camins-Esakov
Bibliographer, C & P Bibliography Services, LLC
(phone) +1 (917) 727-3445
(e-mail) jcamins at cpbibliography.com
(web) http://www.cpbibliography.com/


More information about the Koha mailing list