如何用asp获取颜色值

时间:2014-02-24 13:16:06

标签: html5 input asp-classic colors

http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_input_type_color上有一个演示文件,在源代码中有一个“demo_form.asp”文件。

谁能告诉我这个asp文件的源代码是什么?如果有可能也是这个asp文件的php版本。

1 个答案:

答案 0 :(得分:1)

如果我猜我会说它是这样的话;

<html>
<body>
<h3>Input was received as:</h3>
<h3>
favcolor=<%= Request.QueryString("favcolor") %>
</h3>

<p>This page was returned to you from the server. The server has processed your input and returned this answer.</p>
<p>It is not a part of the HTML5 tutorial to teach you how the server is processing this input. If you want to learn more about processing form input, please read our 
PHP or ASP tutorial.</p>   
<p>Use the back button in the browser to return to the example.</p>

</body>
</html>

而不是可以用于;

favcolor=<?php $_GET['favcolor'] ?>