I try to call a function in jquery with parameter such that
$(document).ready( function() {
$('#id_pros').bind('change', wordCounter('id_pros_wordCountLabel') );
});
function wordCounter(item){
....
}
If I don't pass parameter id_pros_wordCountLabel it works great but now it didn't call wordCounter.
Which part is wrong with my code ?
Thanks