$(function() {
$("input[name*='pvn'").maskMoney({
thousands : '.',
decimal : ','
});
})
I do this to get the inputs with name='pvn'
and apply a mask, but I would like to apply this mask to all money fields, so I do not need to do a function for each input.