it/itf/static/js/register.js
2011-10-25 18:36:42 +01:00

16 lines
364 B
JavaScript

var labelMap = {
'id_email': 'eMail:',
'id_password2': 'You could also narrow your search.<br />Select category:'
}
$(function() {
for (var i in labelMap) {
if (labelMap.hasOwnProperty(i)) {
if ($('label[for=' + i + ']').length > 0) {
$('label[for=' + i + ']').text(labelMap[i]);
}
}
}
});