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
var replit = $('input[name=ids]').val().replace("54,",""); $('input[name=ids]').val(replit);
hope that helps :)
EDIT: if you want a working example: http://jsfiddle.net/Damien_at_SF/XQQC2/
:)