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
Subject: The computed text field value assigned through javascript does not display in domino browser
“Generate HTML for all fields” creates hidden field (<input type=“hidden” …>) corresponding to any computed fields or fields that would normally be hidden by hide-when formulas/conditions in the design. Your script is setting (and subsequently reading) the value of the hidden HTML field, but that’s all it’s doing. The text that represents the content of the computed field on the web page is just text; you need to alter that text yourself by finding out where it lives in the DOM and modifying the DOM.
Web development in Domino is still web development. If you don’t know HTML, CSS, JavaScript and the DOM API, you’re flailing around blind.
Subject: RE: The computed text field value assigned through javascript does not display in domino browser
Perhaps Nivedita can ask someone at IBM for help?redirecting...
I am also pretty sure that IBM got internal training/courseware in web development.