js add.ctp show results and put it into input field