I am storing the ajax response received in a string variable. Further trying to assign these string value to the computed text field using javascript //alert(arr[1]); document.forms[0].div.value = arr[1] //alert(document.forms[0].div.value); Both the alerts show the appropriate value.However the div field is not displayed with the value on the browser. Form property Generate HTML is selected . please suggest the needful