[Koha] Jquery

Chrispin Simasiku Sitali libsitali at gmail.com
Sat Aug 9 02:18:22 NZST 2014


Greetings to all,

How would I add multiple statements in opacuserjs. e.g.

$(document).ready(function(){
  $("#auth legend:contains('Log in to your account')").text("Log in to
your library account");
  $("#auth label[for='userid']").html("Library Card Number:");
  $("#auth label[for='password']").html("PIN:");});


  $(document).ready(function(){
  var holdlinks = $("a:contains('Place Hold'),a:contains('Place hold')");
  $(holdlinks).text("Get It Now!");
  });
  $(window).load(function(){
  $("input[value='Place Hold']").attr("value","Get  It Now!");



 $(document).ready(function(){
    $("a:contains('Browse Shelf')").text("See Similar Items");
  });

Please help. Teaching myself all this!
-- 
Charles Lwanga College of Education,
P. O. Box 660193,
Monze,
ZAMBIA.

Mobile: +26 0979 869471
            +26 0966 869471
SKYPE: Libsitali


More information about the Koha mailing list