• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Handling no script

Guest
Aug 23, 2008 Aug 23, 2008

Copy link to clipboard

Copied

Hi i have a No script tag with a http redirect, but my page will not validate to w3c

is there a way to check the clients javascript using server side?

or a better way to handle the no script?
TOPICS
Advanced techniques

Views

637

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 23, 2008 Aug 23, 2008

Copy link to clipboard

Copied

The problem must be caused by something else. The noscript tag complies with the latest W3C specification.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 01, 2008 Sep 01, 2008

Copy link to clipboard

Copied

the noscript tag is fine, its whats inside the tag

what the best way to redirect to another cfm page inside the noscript tag

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 01, 2008 Sep 01, 2008

Copy link to clipboard

Copied

<NOSCRIPT>
<meta HTTP-EQUIV="Refresh" CONTENT="0; URL=http://www.myOtherWebSite.com/otherPage.cfm">
</NOSCRIPT>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 05, 2008 Sep 05, 2008

Copy link to clipboard

Copied

ok thats what i had but i get w3c error

document type does not allow element "META" here.

i have it ion my head tag?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 06, 2008 Sep 06, 2008

Copy link to clipboard

Copied

LATEST
I can see the dilemma. It is generally expected that <meta> will be within the head and <noscript> within the body. So where do you place the combination of <noscript> and >meta>?

I would place the tags where they produce the result I want, namely, in the head, where the script tag usually is, and accept the w3c error for what it is. Your requirement that the noscript tag do a redirect may actually be self-contradictory. At least, that is my opinion. The noscript tag is designed to provide alternative content -- for the current page, I would assume -- when the script tag is not executed.


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation