it/itf/static/js/register.js

16 lines
364 B
JavaScript
Raw Normal View History

2011-10-23 22:48:58 +00:00
var labelMap = {
'id_email': 'eMail:',
2011-10-25 17:36:42 +00:00
'id_password2': 'You could also narrow your search.<br />Select category:'
2011-10-23 22:48:58 +00:00
}
$(function() {
for (var i in labelMap) {
if (labelMap.hasOwnProperty(i)) {
if ($('label[for=' + i + ']').length > 0) {
$('label[for=' + i + ']').text(labelMap[i]);
}
}
}
});