CSS: Change parent on focus of child

前端 未结 4 855
日久生厌
日久生厌 2020-12-13 01:43

Let\'s say you have something like:

<
4条回答
  •  执念已碎
    2020-12-13 02:14

    Try the contenteditible attribute. This may require more work to turn it into usable form data however.

    http://jsfiddle.net/michaelburtonray/C4bZ6/20/

    Click me
    

提交回复
热议问题