Can div with contenteditable=true be passed through form?

前端 未结 4 908
失恋的感觉
失恋的感觉 2020-11-30 03:56

Can

Some Text
be used instead of texarea and then passed trough form someh
4条回答
  •  春和景丽
    2020-11-30 04:30

    Using HTML5, how do I use contenteditable fields in a form submission?

    Content Editable does not work as a form element. Only javascript can allow it to work.

    EDIT: In response to your comment... This should work.

    
    
    
    
    Some Text

    I have tested and verified that this does work in FF and IE9.

提交回复
热议问题