How to make a box where the user can write text (not a form)?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hrstissiaopai
    New Member
    • Mar 2013
    • 27

    How to make a box where the user can write text (not a form)?

    I was wondering how to make text box in which a user can just type in text... Not a form, nothing getting sent... I know you can use a form tag, but I want it to be pure. Any ideas?
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Do exactly that. Do it the same way you would in a form. Just leave off the form tags.

    Form:
    Code:
    <form>
    <input type="text" />
    </form>
    Not a form:
    Code:
    <input type="text" />

    Comment

    Working...