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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T09:54:47+00:00 2026-06-10T09:54:47+00:00

I can get table cell contents using following statement in Firefox, but no luck

  • 0

I can get table cell contents using following statement in Firefox, but no luck in IE:

document.getElementById('<%=tblBasket.ClientID %>').rows[i].cells[0].innerText

Also I have tested innerHTML, again with no luck, I think the way I call .rows[i].cells[0]. has a problem which gives nothing for IE, what am I doing wrong here?

  • 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-06-10T09:54:48+00:00Added an answer on June 10, 2026 at 9:54 am
    var table = document.getElementById('<%=tblBasket.ClientID %>');
    var rows  = table.getElementsByTagName('tr');
    var cols  = rows[i].getElementsByTagName('td');
    var col   = cols[0];
    var html  = col.innerHTML;
    

    and one-liner:

    document.getElementById('<%=tblBasket.ClientID %>').getElementsByTagName('tr')[i].getElementsByTagName('td')[0].innerHTML
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using LINQ can I get the data from the table into the format shown
I'm trying to get the contents of a table cell to clip instead of
I can't get the table row to fade out in IE. It works in
How can i get a table view in which whn i click on a
How can you refer to a table number such that you get Table 7
I have Table A. How can I select from Table A to get Table
can't get sorting working for a django-tables2 table. class MyModel(models.Model): pid = models.AutoField('id',primary_key =
How can i get all child nodes from sql table? (MemberJoiners table on pict)
How can i get result My Dream Table Result CREATE TABLE #temp( [count] int
How can I get ALL the data from a table of my DB (mySQL)

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.