主要有两种方式 第一种 使用get属性 页面中使用如下: 第二种 使用普通方法事件 页面中使用如下 *转载请附出处 转载于:https://www.cnblogs.com/dennis0525/p/7631281.html