change inptu val code example Example: change inptu val //one of these 2 should suffice $('#id').attr('value', 'xxx') $('#id').val('xxx');