HTML WebResource issue RRS feed

  • Question

  • Hi All,

    We have an issue with HTML Web Resource. We need to populate table in HTML Web Resource and setting the table values at run time using Javascript. Its working in IE, but values are not populate in either Chrome or Safari browsers. 

    Below is the code FYR, please check and let me know what is the issue.

    <script src="ClientGlobalContext.js.aspx" type="text/javascript"></script>
    <script type="text/javascript">
    function populateQuoteDetails(){
    var quoteDetails = document.getElementById("tblQuoteDetails");
    quoteDetails.cells['tdDate'].innerText = stringTodayDate;
    quoteDetails.cells['tdQuotation'].innerText = '1234567';
    <table id="tblQuoteDetails" style="width: 100%;">
                    <td style="width: 50%;">
                            Customer Address
                    <td style="width: 25%;"><b>Date</b></td>
                    <td id="tdDate" style="width: 25%;"></td>
                    <td id="tdQuoteAddress" style="width: 50%;"></td>
                    <td style="width: 25%;"><b>Quotation #</b></td>
                    <td id="tdQuotation" style="width: 25%;"></td>
    <script type="text/javascript">
            window.onload = populateQuoteDetails;


    Kumar R

    Monday, July 11, 2016 5:38 PM