cari

Rumah  >  Soal Jawab  >  teks badan

jsp里面的function multiplication()进不去?有心人能帮帮吗?

下面是部分代码

<head>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<title>Yonyou NC 电子销售-要货计划-填报计划</title>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<script type="text/javascript" src="/web/component/webpub/core/seajs2/dist/sea-debug.js" data-config="/ecp/html/global.js" data-main="/ecp/html/main.js"></script>
<script type="text/javascript">
    seajs.use([ 'order_orderPlanAdd', '$', 'invoiceAutoComplete' ], function(orderPlanAdd, $, invoice) {
        $('.order_single_width').show();
        invoice.init();
    });
</script>
<script type="text/javascript">
   function multiplication(){
    alert("爆炸");
   }
</script>
<td>
<input type="text" name="materialUIView[${pstatus.index}].price"  id="price"  value="${material.price}"  style=" width:30px" onchange = "multiplication()">
                                                            
</td>


高洛峰高洛峰2936 hari yang lalu694

membalas semua(1)saya akan balas

  • 三叔

    三叔2016-11-17 14:42:31

    multiplication这个方法是#price这个Input的Onchange触发的嘛,什么叫进不去?

    balas
    0
  • Batalbalas