Hello Chrispin, How are you doing?
On Aug 10, 2014, at 4:07 AM, Chrispin Simasiku Sitali <libsitali@gmail.com> wrote:
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!"); });
Basically the syntax would be like $(document).ready(function(){ <multiple statements go here> }); So you only need the first and last line only once. Hope this helps. Olugbenga Adara Sent from a mobile device. Please excuse typos and brevity.