Search your code to find what makes the input's value disappear. E.g., look for behavior that clears the value of form fields (either element.value = ''
if using plain javascript, or element.val('')
if using jquery).
Then you can see what is the condition to clearing it. In your case, seems that the condition is that the input's value is equal to it's "title" attribute (you can edit both using "Inspect Element" in Chrome).