style div class=abc form action=increasephp method=post id=increase-num-form 序号:input type=text name=input1 placeholder=请输入内容 style=width400px;height30px;margin-bottom 25pxbr
可以使用button标签,并在其中嵌入JavaScript语句,如下所示:
其中,onclick属性中的window.history.back()表示返回上一个页面。需要注意的是,这个方法只能返回到访问历史中的前一个页面,如果当前页面是通过直接输入URL或者书签进入的,是没有前一个页面的,此时点击按钮不会有任何反应。
原文地址: http://www.cveoy.top/t/topic/fH1a 著作权归作者所有。请勿转载和采集!