• Lupec@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      9 months ago

      So a form is basically a group of fields, think name, email and whatnot. By default, whenever you press enter in one of those, the browser takes whatever content is in the fields and follows some steps but the end result is it reloads the entire page. Nowadays that’s not what you want 99% of the time but it’s still the default behavior, so you have to instruct the browser not to do so by adding a couple lines of code. Whoever programmed this particular website then thought to inform the user that wasn’t going to work on top of presumably suppressing the original behavior.

      • imposedsensation@lemmynsfw.com
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        9 months ago

        Almost need to spend as much time learning the norms of modern web development as you do learning the syntax and behavior of Javascript.