When the text box gets focus, a floating layer appears below the text box.
Hide the floating layer when the user clicks on a blank space on the web page except the text box and floating layer.
When the user clicks on the floating layer, change the value of the text box.