Testing non-js functionality

F

Fabian

Can IE6 be set to have js disabled? If not, what is teh simplest way to
check for non-js functionality?
 
L

Lasse Reichstein Nielsen

Fabian said:
Can IE6 be set to have js disabled?

Sure.
Internet Options > Security > Custom Level > Active Scripting = Disabled
If not, what is teh simplest way to check for non-js functionality?

Do you mean "If so", and do you mean to check whether JS is disabled?

In that case, a good test would be:

<script type="text/javascript">
document.write("<p>Javascript is enabled<\/p>");
</script>
<noscript>
<p>Javascript is disabled</p>
</noscript>

The <noscript> includes content only when scripting is not available.

/L
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top