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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:44:52+00:00 2026-06-11T09:44:52+00:00

I am creating a personal website.So,its a very lightweight website! The website uses jquery

  • 0

I am creating a personal website.So,its a very lightweight website!

The website uses jquery heavily.So if target browser doesn’t have javascript enabled,my website would not work.
To resolve this issue I used this html

<html>

<head>

<script>
window.location.href="javascriptEnabled.html";
/*Since javascript is enabled redirect to javascript based page*/
</script>

</head>

<body>
Showing Static Website since javascript is not enabled..
</body>

</html>

As you can see,I am redirecting to javascript enabled page if the target browser supports it.

But if javascript is not enabled,the script would not work and then static html would be loaded which is in body tag!

I have two questions.

1>Is this the best way to resolve javacript-no javascript issue browser issue?

2>If I use window.location.href and the browser is javascript enabled,would it download the full page or would it stop at window.location.href?

  • 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-11T09:44:54+00:00Added an answer on June 11, 2026 at 9:44 am
    1. To keep things simple, yes it’s an OK idea. You can load content with <noscript> tags
    2. As soon as the browser hits that window.location.href it will start redirecting, but it will still download all DOM. Browsers download all Document then it will start to render.

      You can use: <body onload="document.body.style.display = 'none';"> to hide it’s contents until redirect occurs.

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

Sidebar

Related Questions

I'm in the proccess of creating my own web profilo and personal website. I
I am interested in creating a website entirely in silverlight (personal reasons) but I
I am creating a journal application for personal notes and have the following in
I am creating a portfolio page for m personal site. I have a slider
I am creating a portfolio page for m personal site. I have a slider
I'm creating a website as a small store for personal use, my main question
I'm creating a small timesheet application. Timesheets have athletes, and each athlete has personal
On my personal website, I'm creating a contact form. It switches between Buisness Inquiries
I am planning on creating a small website for my personal book collection. To
I am creating a web application within GAE environment. It heavily uses AJAX/JSON to

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.