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 839947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T05:32:43+00:00 2026-05-15T05:32:43+00:00

In my JSON javascript live pull I have: html += <tr><td width=60 valign=top><a href=’+item.url+’

  • 0

In my JSON javascript live pull I have:

    html += "<tr><td width=60 valign=top><a href='"+item.url+"' target='_blank'>"+item.site+"</a></td>";

The += seems to strip out my tr td values
So I tried amending it to = which just seems to fail.. I tried setting td as a var and still no luck

Any ideas of a way round this, my js is basic so even if you think its silly your answer could help me greatly..

EDIT

to confuse things things further the = alone works in Firefox but on IE the items are loading hidden in the background.. I don’t get why the browsers would perform so differently over the use of one + sign…

  • 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-15T05:32:44+00:00Added an answer on May 15, 2026 at 5:32 am

    x += y is just a shorthand for x = x + y. If you change it to html = "...", you’d be overwriting anything that already existed in the html variable.

    How are your “tr td values” being stripped?

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

Sidebar

Related Questions

Possible Duplicate: How to parse JSON in JavaScript I have this JSON string: [{title:
I have a web page that dynamically generates form HTML via JavaScript and pours
I am a JSON newbie, but have good experience in PHP and javascript. The
What's the date literal for JSON/JavaScript ( if such thing does exists? )
Teaching myself the flow of data from mySQL -> PHP -> JSON / Javascript
I parse data using JSON in javascript, I find this is very convenient. But
Possible Duplicate: How to parse JSON in JavaScript { data: [ { name: JoongBum
I'm using the combination of json_encode (PHP) and JSON.parser (Javascript from json.org) for passing
I cant find one way to get this value (comment) into json using javascript.
JSON stands for JavaScript Object Notation. But how come languages like php, java, c

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.