.val()
$("#mySelector").val(function(i,v) { //index,current value return v.replace("#","Custom Text"); });