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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:44:26+00:00 2026-05-26T13:44:26+00:00

As far as I think the answer should be no for this question, how

  • 0

As far as I think the answer should be no for this question, how ever would like to check if we have any work around.

“I have a client side search box (Text box) and can I check for the text, that the user entered inside the textbox, in the files (HTML) reside in server side (Lets be specific – inside a particular folder I have 5 HTML files), using javascript (Without using any server side coding !!)”.

As far as my knowledge for the security reason we cant use java script to access file system in client side. However here it is server side, can that be done?

  • 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-26T13:44:27+00:00Added an answer on May 26, 2026 at 1:44 pm

    You’re correct. JavaScript cannot access the file system under any circumstances. This would be a HUGE security risk because JS runs, in may cases, without the users consent.

    If you would like to fetch data from a file on the server with JavaScript, have your JS use AJAX to ask the server for information.

    AJAX Resources

    http://api.jquery.com/jQuery.ajax/

    http://www.w3schools.com/ajax/ajax_intro.asp

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

Sidebar

Related Questions

I have a rather simple question for you.. I feel like I should have
I am pretty new to this iPhone dev thing but so far I have
This is to be an application-agnostic question, but one I'd like to get a
I saw this question on SO about casting, and the answer specifically mentioned numeric
This looks like a long question because of all the context. There are 2
OK, so I opened up this question yesterday and got an answer fairly quickly.
I have a question about organizing .resx files in mvc3 application. So far I
I have a question about Rails database. Should I add index to all the
I have a question that I didn't find a real consistent answer for. That
(Sorry if this sounds like a rant, but it's a real question and I'd

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.