I'm just trying to fill the red text box with javascript server data. The data is kept inside the text box, but it is not visible until I click on the red text box. Function Pickemplate (name, spouse, plu, namebox, sbbox, pbox) {sBox.value = Sku; PBox.value = plu; NameBox.value = Name; $ ('MdlPopup') looks hidden () .; } I am sending parameters for a button click inside a gridview such as: button. a quality. Add ("OnClick", string.Format ("pickItem ('{0}', {1}, {2}, {3}, {4}, {5});", E. RO Seals [0] Text trim (), E.RO Seals [1], text. Rim (), E.O. seals [2] text, rim (), form veveccincent.fintcontrol ("prodbox") .callind id, form vivax Filt Control ("SBox"). ClientID, FormViewAccident.FindControl ("Pbox"). ClientID)); Again, except for the fact that it does work, I have to click inside the text box. This works perfect if I use a regular ASP.NET text box which is incompatible with this project A...