下面是部分代码
<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>
multiplication这个方法是#price这个Input的Onchange触发的嘛,什么叫进不去?