tyteen4a03 Well-known member Apr 7, 2014 #1 How do you implement fallbacks when JavaScript is not available? I have an <input> that needs to be made visible when JavaScript is unavailable.
How do you implement fallbacks when JavaScript is not available? I have an <input> that needs to be made visible when JavaScript is unavailable.
Chris D XenForo developer Staff member Apr 7, 2014 #2 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.
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.