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

  • Home
  • SEARCH
  • 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 6759895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:00:19+00:00 2026-05-26T14:00:19+00:00

I am reading a comma separated text file from the server, i get the

  • 0

I am reading a comma separated text file from the server, i get the valuse but when i chage the comma seprated variables in the file, it doesn’t load the correct result int the browser
while browser persist the first time variable list only, whlile it works correct in IE, in firefox i am facig this proble.
How to sort it out

var arrUserTags = new Array();
                            var txt;
                            xmlhttp = new XMLHttpRequest();
                            xmlhttp.open("GET", "/TinyEditor/TextFile.txt", true);
                            xmlhttp.send();

                            xmlhttp.onreadystatechange = function () {
                                if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {

                                    txt = xmlhttp.responseText;
                                    arrUserTags = txt.split(",");
                                    alert(arrUserTags.length);
                                    parse();

                                }
                            }

                            // Add some values to the list box
                            function parse() {
                                for (i = 0; i < arrUserTags.length; i++) {
                                    mlb.add(arrUserTags[i], arrUserTags[i]);
                                    alert('hi');
                                }
                            }
  • 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-26T14:00:20+00:00Added an answer on May 26, 2026 at 2:00 pm

    You server is presumably sending caching instructions that tell browsers the URI for the text file won’t change for a while.

    Either configure the server to send no cache headers, or change the URI (e.g. by adding a rand() query string to it).

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

Sidebar

Related Questions

I'm reading a comma-delimited list of strings from a config file. I need to
Possible Duplicate: Reading csv file I have a comma delimited file: Some Text, More
I have been able to extract certain lines from a large tab-separated text file
I'm reading from a CSV, line by line and tokenizing each comma separated value.
I am reading Earth quake Stats from a file and I need to be
Text file (or CSV) is: Data:,,,,,\n (but with 100 ,s) In C or C++
I am reading a text file which contains a word with a punctuation mark
I have a problem reading a comma-delimited TXT file. This is what I am
I'm reading in a text file using BinaryReader, then doing what I want with
I am reading a string from a file: 2343,0,1,0 ... 500 times ...3 Above

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.