Jump to content

haku

Staff Alumni
  • Content Count

    6,172
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by haku

  1. Traditionally, yes. But HTML5 introduces the 'form' attribute for form elements, which allows for the form element to not be a child of the <form> tag. Ex: <form id="someform"> <input type="text" name="some_key" /> </form> <input type="submit" form="someform" value="Submit the form" />
  2. You can also do: function someFunction(bob){ bob = bob || true; //... }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.