1、可以使用小脚本<%%>实现:

var pro_id=<%request.getPro_id()%>;

2、使用隐藏域实现:

 <input type="hidden" value="${requestScope.product.getPro_id()}" />

var pro_id= $('pro_id').value;

相关文章:

  • 2021-10-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-02
  • 2021-07-18
  • 2022-12-23
  • 2022-01-02
  • 2021-12-09
  • 2022-12-23
  • 2022-01-28
相关资源
相似解决方案