I\'ve been trying to figure out a way to replace part of a string in an input value, but haven\'t been able to get it working.
The input field looks li
$('input[name=ids]').val(function(index, value) { return value.replace('54,', ''); });