it/itf/static/js/register.js

16 lines
324 B
JavaScript
Raw Normal View History

2011-10-23 22:48:58 +00:00
var labelMap = {
'id_email': 'eMail:',
2011-10-25 20:46:30 +00:00
'id_password2': 'retype password:'
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]);
}
}
}
});