Javascript Trouble Formatting Inputfields On Button Clicks Stack

Javascript Trouble Formatting Inputfields On Button Clicks Stack