English 中文(简体)
传真 表格
原标题:HTML Form submit buttons

我知道,这也许是一个非常基本的问题,但我对这个专题并不放心。

提交表格时,是否有确切的价值需要通过才能告知某国受到压力......

或者,对于提交国名来说,任何价值都不会通过?


任何想法?


<><><> Edit>:

感谢gu! 我发现如何处理这一问题。

由于变数已转给服务器,而且根据服务器的读写情况,这些变量对口译有很大的开放性,

我刚刚决定核对以各种形式公布的数据,并刚刚决定将其分类。

现在,由于你们的帮助,一切事情都奏效!

最佳回答

应通过<代码><input category=“submit”> s~ Value/code>属性。

例如,如果用户点击以下提交年份,浏览器必须发送<代码>。 GoNext=Next+Step

<input type="submit" name="GoNext" value="Next Step" />

详情见

问题回答

你可以传递任何价值,你可以根据各种可能性检查提交表格。 例如,我们如何在实验室检查是否提交了表格:

<input type="submit" name="submit" value="whatever" />

if (isset($_POST[ submit ]))
{
  // form was submitted !!
}




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签