NoJS fallback methods

tyteen4a03

Well-known member
How do you implement fallbacks when JavaScript is not available? I have an <input> that needs to be made visible when JavaScript is unavailable.
 
Either...

Make it hidden with JS, so ordinarily it is visible but the JS hides it, or use the .NoJs selector to make it hidden. .NoJs is added to the HTML tag when JS is disabled.
 
Back
Top Bottom