页面代码

<button type="button" class="btn btn-xs btn-info" ></i> 新增</button>

js代码

<script type="text/javascript">
  	// 添加商品
  	function addNewProduct(){
  		window.location.href = "${pageContext.request.contextPath }/product?method=addNewProduct";
  	}
</script>

相关文章:

  • 2022-12-23
  • 2021-10-08
  • 2021-04-05
  • 2021-08-23
  • 2022-03-06
  • 2023-02-06
  • 2022-12-23
  • 2022-01-14
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2021-04-27
  • 2021-07-19
相关资源
相似解决方案