Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4602546
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T00:00:08+00:00 2026-05-22T00:00:08+00:00

This has got me stumped, I am testing my app on IE8 and an

  • 0

This has got me stumped, I am testing my app on IE8 and an AJAX call is being made to the server and it is getting back a return like below. I am then doing an alert to check the output (it matches what I have below) and then it is supposed to append this to a DIV but it always fails to do this. Even if I put an alert past this line of code it still works so its not giving an error it seems, either. I figure there must be some thing with IE8 and multine-line variables or something as I am completely stumped by this, I would greatly appreciate if anyone can help.

What I am calling to append

    alert(callbackReturnData)
    $("#parent_tabDocumentSearch_displayMessageContents").append(
            "<div id='test'>"
                    + callbackReturnData + "</div>");

The contents of the callbackReturnData variable (returned from AJAX)

   <div class="documentHead">
        <div class="col1">
            <p>
                Sender: <strong><span id="dispayFileContents_sender">V Charles Weldon</span>
                </strong>
            </p>
            <p><div id="div_subject">
                Subject: <strong><span id="dispayFileContents_subject">Timesheet Revision</span>
                </strong>
                </div>
            </p>
            <p><div id="div_recipients">
                Recipient: <strong><span id="dispayFileContents_recipients">Rebecca Torres</span>
                </strong>
                </div>
            </p>
        </div>
        <div class="col2">
            <p>
                Date: <strong><span id="dispayFileContents_date"></span>12/22/2000</strong> 
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
                Rank:   <strong><span id="dispayFileContents_rank"></span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </strong>

            </p>
            <p>
                Time: <strong></strong>
            </p>
            <p>
            Document #:     <strong><span id="dispayFileContents_displayCount"></span>
            </strong>
            </p>
        </div>
        <div class="col-right">

            <div class="prev-btn">
                <img onclick="TabDocumentSearch_emailContentsViewNextPrev('prev')"
                    src="http://witnesstreefiles.s3.amazonaws.com/stable/liquis/images/prev.png"
                    width="25" />
            </div>
            <div class="next-btn">
                <img onclick="TabDocumentSearch_emailContentsViewNextPrev('next')"
                    src="http://witnesstreefiles.s3.amazonaws.com/stable/liquis/images/next.png"
                    width="25" />
            </div>

        </div>
        <div class="clear"></div>
    </div>
    <div class="documentBody documentBodyScroll">


        I'm taking 4 hours vacation today and have updated my previous timesheet to 
    <br>reflect this.  Please see attached.
    <br>
    <br>
    <br>***********
    <br>EDRM Enron Email Data Set has been produced in EML, PST and NSF format by ZL Technologies, Inc. This Data Set is licensed under a Creative Commons Attribution 3.0 United States License <http://creativecommons.org/licenses/by/3.0/us/> . To provide attribution, please cite to "ZL Technologies, Inc. (http://www.zlti.com)."
    <br>***********
    <br>Attachment: AA- Timesheet.12-16-30-00.doc type=application/msword
    <br>




    </div>

    <div class="documentFoot">
        <div class="col1">
            <p style="margin-top:10px;">
                Comment: <input id="tabDocumentSearch_documentCustomComment"
                    value="         
                "
                    name="" type="text" /> <input type=button " class="save button"
                    value="Save"
                    onclick="tabDocumentSearch_tabDocuments_updateComment()"></input>


            </p>
        </div>
        <div class="col-right">
            <div class="col1" style="margin-right:10px">
                <table>
                    <tr>
                        <td style="width: 20px;" class="center"><img
                            src="http://witnesstreefiles.s3.amazonaws.com/stable/liquis/images/hot-btn.png"
                            width="20">
                            <div id="radioHolder_h"></div></td>
                        </td>
                        <td style="width: 20px;" class="center"><img
                            src="http://witnesstreefiles.s3.amazonaws.com/stable/liquis/images/priv-btn.png"
                            width="20">
                            <div id="radioHolder_p"></div></td>
                        </td>
                        <td style="width: 20px;" class="center"><img
                            src="http://witnesstreefiles.s3.amazonaws.com/stable/liquis/images/resp-btn.png"
                            width="20">
                            <div id="radioHolder_r"></div></td>
                        </td>
                        <td style="width: 20px;" class="center"><img
                            src="http://witnesstreefiles.s3.amazonaws.com/stable/liquis/images/cold-btn.png"
                            width="20">
                            <div id="radioHolder_c"></div></td>
                        </td>
                                            <td style="width: 20px;" class="center">
    <img src="http://witnesstreefiles.s3.amazonaws.com/stable/liquis/images/custom-btn.png" width="20">
                            <div id="radioHolder_cust"></div></td>
                        </td>
                        <td style="padding-top:18px;" class="center">

                                            <select style='width:150px' class='specialHidden1' id='setCustomTagForDocument' name=''>
     <option selected='selected'>Set Custom Tag</option>
    <option>Priv - legal</option>
    <option>Priv - spouse</option>
    <option>Priv - medical</option>

                    </select>

                        </td>
                    </tr>
                </table>
            </div>
                    <script type="text/javascript">
                        $("#setCustomTagForDocument").change(function() {
                            tabDocumentSearch_setCustomTag()
                        });
                    </script>


            <div class="prev-btn">
                <img onclick="TabDocumentSearch_emailContentsViewNextPrev('prev')"
                    src="http://witnesstreefiles.s3.amazonaws.com/stable/liquis/images/prev.png"
                    width="25" />
            </div>
            <div class="next-btn">
                <img onclick="TabDocumentSearch_emailContentsViewNextPrev('next')"
                    src="http://witnesstreefiles.s3.amazonaws.com/stable/liquis/images/next.png"
                    width="25" />
            </div>
        </div>
        <div class="clear"></div>
    </div>





    <div class="clear"></div>
    </div>

    <script type="text/javascript">
        $("#tabDocumentData_documentCustomComment").keydown(function(event) {

            if (event.keyCode == 13) {
                tabDocumentSearch_tabDocuments_updateComment()
            }
        })
    </script>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T00:00:10+00:00Added an answer on May 22, 2026 at 12:00 am

    I solved a similar jQuery problem that only affected IE. The <br> tags in callbackReturnData may be the culprits (plus any other unclosed tags/invalid HTML). Try closing them like: <br />.

    Relevant jQuery( html, [ ownerDocument ] ) documentation:

    To ensure cross-platform
    compatibility, the snippet must be
    well-formed. Tags that can contain
    other elements should be paired with a
    closing tag… Tags that cannot
    contain elements may be quick-closed
    or not.

    (I know <br> cannot include other elements, but removing this tag fixed the problem. Also it doesn’t seem to be an issue with jQuery 1.6/IE9, anymore.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This one has got me stumped. I'm deploying a Rails 3 app to Slicehost
This one has really got me stumped. I have certain forms that are being
I'm admittedly a straight-C newbie, but this has got me stumped. I'm working on
This one has me stumped. I've got a java.sql.ResultSet and I'm pulling string values
My Java application has got a package structure similar to this: src/com/name/app src/com/name/app/do src/com/name/utils/db
This has got to be easy, but has got me stumped. How do I
This one has got me stumped. I am currently rendering a form using ASP
This problem has got me stumped for a few days now. I have a
This has got me completely stumped: print_r($json); echo json_encode($json); output: Array ( [query] =>
This has got me stumped, I've tried lots of different things, but I can't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.