Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • There's no need to use each(). When you select elements, you'll preform hide() on all the selected elements. I've edited my answer to include a jsFiddle example that hides 2 text boxes at once. Commented Aug 11, 2010 at 19:58
  • ok, not only did I have a : instead of an = but I had a space in there too. Thanks to both, I gave it to @peter-ajtai for the jsFiddle example. but +1 to both. Commented Aug 11, 2010 at 20:04