1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

NoJS fallback methods

Discussion in 'XenForo Development Discussions' started by tyteen4a03, Apr 7, 2014.

  1. tyteen4a03

    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.
  2. Chris D

    Chris D XenForo Developer Staff Member


    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.
    tyteen4a03 likes this.

Share This Page