Dear All;I am using embeded view in web,i have set view property to treat view content as html,and in view column formula i am using x:=“[document.getelementby(‘abc’).value]”;x; and this abc is as field on form but it is not working,could you please give some other solution for it.
thanks in advance
Subject: RE: using javascript in view column
JavaScript code in a Domino web application runs in the browser. The “document” object refers to the current web page – the one containing the view – not the document being displayed in the row.
You can write a formula that generates some JavaScript code, but if you want to include a value from in your document, you have to refer to it in the formula, not in the JavaScript code. For instance, if you wanted to call the JavaScript function godaddy passing it the value of the field Name as an argument, you might use this formula:
“”
Of course, if your value might include ’ this would cause a syntax error in your JavaScript code, and you will have to use @ReplaceSubstring to change it to “'”.