How can I make an entire HTML form “readonly”?

前端 未结 12 1434
无人及你
无人及你 2020-12-02 07:56

I have two pages with HTML forms. The first page has a submission form, and the second page has an acknowledgement form. The first form offers a choice of many controls, whi

12条回答
  •  执笔经年
    2020-12-02 08:24

    Wrap the input fields and other stuff into a

    and give it the disabled="disabled" attribute.

    Example (http://jsfiddle.net/7qGHN/):

提交回复
热议问题