• <i id='DsZXu'><tr id='DsZXu'><dt id='DsZXu'><q id='DsZXu'><span id='DsZXu'><b id='DsZXu'><form id='DsZXu'><ins id='DsZXu'></ins><ul id='DsZXu'></ul><sub id='DsZXu'></sub></form><legend id='DsZXu'></legend><bdo id='DsZXu'><pre id='DsZXu'><center id='DsZXu'></center></pre></bdo></b><th id='DsZXu'></th></span></q></dt></tr></i><div id='DsZXu'><tfoot id='DsZXu'></tfoot><dl id='DsZXu'><fieldset id='DsZXu'></fieldset></dl></div>

      <tfoot id='DsZXu'></tfoot>

        <small id='DsZXu'></small><noframes id='DsZXu'>

          <bdo id='DsZXu'></bdo><ul id='DsZXu'></ul>
        <legend id='DsZXu'><style id='DsZXu'><dir id='DsZXu'><q id='DsZXu'></q></dir></style></legend>

        在经典 ASP 中添加逗号的 HTML 表单值

        时间:2023-06-14
        • <i id='0JgNr'><tr id='0JgNr'><dt id='0JgNr'><q id='0JgNr'><span id='0JgNr'><b id='0JgNr'><form id='0JgNr'><ins id='0JgNr'></ins><ul id='0JgNr'></ul><sub id='0JgNr'></sub></form><legend id='0JgNr'></legend><bdo id='0JgNr'><pre id='0JgNr'><center id='0JgNr'></center></pre></bdo></b><th id='0JgNr'></th></span></q></dt></tr></i><div id='0JgNr'><tfoot id='0JgNr'></tfoot><dl id='0JgNr'><fieldset id='0JgNr'></fieldset></dl></div>

            <small id='0JgNr'></small><noframes id='0JgNr'>

                • <bdo id='0JgNr'></bdo><ul id='0JgNr'></ul>
                    <tbody id='0JgNr'></tbody>
                • <legend id='0JgNr'><style id='0JgNr'><dir id='0JgNr'><q id='0JgNr'></q></dir></style></legend><tfoot id='0JgNr'></tfoot>

                  本文介绍了在经典 ASP 中添加逗号的 HTML 表单值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有一个经典的 ASP 页面,它提交回自身.奇怪的是,从选择返回的值的末尾添加了逗号.有没有人遇到过这样的事情?有没有推荐的故障排除步骤或工具?

                  I have a classic ASP page that submits back to itself. Strangely, the values being returned from the selects have commas being added to the ends of them. Has anyone run into anything like this before? Any troubleshooting steps or tools recommended?

                  我希望这些值以数字形式返回 - 它们是选项中显示的值的 ID.

                  I'm expecting the values to be returned just as numbers - they are the IDs of the values displayed in the option.

                  我检查了页面中的神秘逗号,但找不到任何 - 也没有在我正在提取的数据中.

                  I've checked for mystery commas in the page and can't locate any - nor in the data that I'm pulling through.

                  (注意 - 这些是单选,而不是多选)

                  (note - these are single-selects, not multiple)

                  推荐答案

                  听起来您有重复的表单字段.您的值用逗号连接在一起,如下所示:

                  Sounds like you have duplicate form fields. Your values are concatenated together with commas, like this:

                  <input type="text" name="name1" value="value1">
                  <input type="text" name="name1" value="value2">
                  <input type="text" name="name2" value="value3">
                  

                  变成

                  name1=value1,value2
                  name2=value3
                  

                  如果第二个name1没有值,就变成

                  If the second name1 has no value, it becomes

                  name1=value1,
                  name2=value3
                  

                  这篇关于在经典 ASP 中添加逗号的 HTML 表单值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何在经典的 ASP Web 应用程序之上集成 WebSockets? 下一篇:iframe下处理#document的方法

                  相关文章

                      <bdo id='BH5zG'></bdo><ul id='BH5zG'></ul>
                  1. <i id='BH5zG'><tr id='BH5zG'><dt id='BH5zG'><q id='BH5zG'><span id='BH5zG'><b id='BH5zG'><form id='BH5zG'><ins id='BH5zG'></ins><ul id='BH5zG'></ul><sub id='BH5zG'></sub></form><legend id='BH5zG'></legend><bdo id='BH5zG'><pre id='BH5zG'><center id='BH5zG'></center></pre></bdo></b><th id='BH5zG'></th></span></q></dt></tr></i><div id='BH5zG'><tfoot id='BH5zG'></tfoot><dl id='BH5zG'><fieldset id='BH5zG'></fieldset></dl></div>

                  2. <tfoot id='BH5zG'></tfoot>

                  3. <legend id='BH5zG'><style id='BH5zG'><dir id='BH5zG'><q id='BH5zG'></q></dir></style></legend>

                    <small id='BH5zG'></small><noframes id='BH5zG'>