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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:12:14+00:00 2026-05-18T01:12:14+00:00

Hi I am building an application which is supposed to be primarily powered by

  • 0

Hi I am building an application which is supposed to be primarily powered by Ajax.It has an Ajax based navigation where when a person clicks a link, he is shown some data in an adjacent div.I am doing it by stopping the default action in a JavaScript function and doing an xhrGET

But the problem is that if the user disables JavaScript , he will be able to click the link and be transported to the page where the link points. Now this can be managed server side by checking whether it is an Ajax request or not and doing the needful… but what I need to do is to make those links un-navigable(if that is the correct term) when JavaScript has been disabled.

What should I do 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-05-18T01:12:14+00:00Added an answer on May 18, 2026 at 1:12 am

    Ideally you should build your application so that it works both with and without javascript of course. But if you don’t want to do that then you would have to make the links unnavigable in the plain html.

    Perhaps replace

    <a href='link'></a>
    

    with

    <a href='#' data-link='link'></a>
    

    and when your page loads use javascript to fix up the links.

    As has already been said you should probably also show an error message on the page so that visitors with javascript turned off know why the page isn’t working.

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

Sidebar

Related Questions

I'm building an application which needs to filter some mouse clicks system-wide. That is,
I'm looking at building a Rails application which will have some pretty large tables
Im building a web application which is a process management app. Several different employee
We're building a Silverlight application which will be offered as SaaS. The end product
We are building an enterprise application in which we will incorporate multiple platforms for
I am building an MVC application in which I am reading a list of
I am building an MS Access application in which all the forms are modal.
I am building application that required some data from iPhone's Call log(read only). The
I'm building an application in C# using WPF. How can I bind to some
I’m building a J2EE web application which uses Oracle SSO with an OID back-end

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.