Skillnad mellan versioner av "Kohas OPACUserJS systeminställning"
Hoppa till navigering
Hoppa till sök
(Skapade sidan med ' == Här kan delas programmeringskod och tips som är kopplade till Kohas OPACUserJS systeminställning. == '''1. Remove paid fines from Useraccount page''' <pre>$(docu...') |
|||
| Rad 1: | Rad 1: | ||
| − | + | '''Här delas programmeringskod och tips som är kopplade till Kohas OPACUserJS systeminställning.''' | |
| + | <pre> | ||
| + | 1. Remove paid fines from Useraccount page | ||
| − | + | $(document).ready(function() { | |
| − | |||
| − | |||
| − | |||
| − | |||
if ($("#useraccount").length > 0) { | if ($("#useraccount").length > 0) { | ||
$('table tr').each(function() { | $('table tr').each(function() { | ||
Versionen från 13 maj 2016 kl. 12.49
Här delas programmeringskod och tips som är kopplade till Kohas OPACUserJS systeminställning.
1. Remove paid fines from Useraccount page
$(document).ready(function() {
if ($("#useraccount").length > 0) {
$('table tr').each(function() {
if ($(this).find("td:eq(3)").html() == "0.00") {
$(this).closest('tr').remove();
}
});
};
});