Heim  >  Artikel  >  Web-Frontend  >  form 表单提交给另一个页面,并显示出来,纯的html能行么,求代码例子。javascript脚本呢?_html/css_WEB-ITnose

form 表单提交给另一个页面,并显示出来,纯的html能行么,求代码例子。javascript脚本呢?_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-21 09:14:111267Durchsuche

<form action="" method="post">        <div class="field">		This is a brief description of Interim Fix :            {# 自动生成的默认错误信息显示 #}            {# 会被翻译成:<ul class="errorlist"><li>这个字段是必填项。</li></ul> #}            {{ form.subject.errors }}            <label for="id_subject">12</label>            {{ form.subject }}            {# 自定义的错误信息显示 #}            {% if form.subject.errors%}            <label for="id_self_def_error_info" style="color: red;">                *自定义错误信息:主题不能为空            </label>            {% endif %}        </div>        <div class="field">            {{ form.email.errors }}            <label for="id_email"> for IBM SPSS Data Collection DDL 7 ("Software").</label>            {{ form.email }}        </div>        <div class="field">            {{ form.message.errors }}            <label for="id_message">页面中自定义的信息:</label>            {{ form.message }}        </div>        <input type="submit" value="提交">    </form>

form 表单提交给另一个页面show.html,并显示出来,纯的html能行么,求代码例子。
javascript脚本呢?


回复讨论(解决方案)

求代码例子,或者链接,学习一下

 不行                              。

纯的html
也就是说静态的html是不能实现的。
静态html是不能改变的。

纯的html
也就是说静态的html是不能实现的。
静态html是不能改变的。



那现在在服务器处理好数据,生成新的页面发送给用户


纯的html
也就是说静态的html是不能实现的。
静态html是不能改变的。



那现在在服务器处理好数据,生成新的页面发送给用户
恩恩,这种方法可以,使用模板引擎
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn