+
95
-

form-create生成的json数据提交后如何只读展现出来?

form-create生成的json数据提交后如何只读展现出来?


网友回复

+
15
-

只要是form数据都可以展示,下面是一个示例:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Form Data Display</title>
  <style>
    .read-only-container {
      margin: 20px;
      padding: 20px;
      border: 1px solid #ccc;
    }
    .read-only-field {
      margin-bottom: 10px;
    }
    .read-only-label {
      font-weight: bold;
    }
  </style>
</head>
<body>
  <div id="read-only-display"></div>

  <script>
    function displayReadOnlyData...

点击查看剩余70%

我知道答案,我要回答