0

我在 jquery 移动网站的列表视图中有一个表单。表单有五个字段,其中四个接受 int 数字,最后一个字段必须接受用户介绍的文本。当我在 Firefox 和 Chrome 中检查该站点时,用户可以在文本字段中插入文本,但不允许使用空格(空格键),点击空格键时没有任何反应。它是一个 jquery molibe 错误吗?我看到一些论坛已经报告了这个问题,但暂时没有答案。先感谢您。

是的...这部分代码:

<ul data-role="listview" data-inset="true" data-theme="b" data-filter="true">

      <?php $query = mysql_query("SELECT * FROM tbexistencias WHERE restaurante = '".$_GET['id']."' ");
      while ($e =mysql_fetch_array($query)){?>

        <li><a href="#" rel="external">
          <h3><?php echo obtenernombreproducto($e['producto'])."<br> (".obtenerpresentacionind($e['producto']).")"?></h3>
          <p><?php echo obtenercategoriaproducto($e['producto'])?></p>
        <p><?php echo "Almacenado en<h3> ".obteneralmacen($e['almacen'])."</h3>"?>          </p>
<form id="ajax-form" class="autosubmit" method="post" action="addexistencia.php">
<fieldset>
<legend>Actualizar existencias</legend>
<p>
  <label> Existencias actuales:</label>
  <input name="existencias" value="<?php echo $e['existencias']?>"/>
</p>
<p>
  <label for="textousuario">Observaciones</label>
  <textarea name="textousuario" id="textousuario"></textarea>
  <input id="where" type="hidden" name="id" value="<?php echo $e['id']?>" />
</p>
</fieldset>
</form>
        </a>

         </li>
        <?php }?>
      </ul>

不接受空格的文本是 textousuario。谢谢你。

4

0 回答 0