用javascript实现html页面之间的参数传递的四种方法
我们知道,在服务器端asp,jsp等程序可以接受html页面上的form传来的参数。那么,可不可以传递参数给html页面呢。可以。原理:通过window.location.href中的分割符获得各个参数方法一:/* *函数功能:从href获得参数 *sHref: http://www.cscenter.com.cn/arg.htm?arg1=d&arg2=re
转载
2014-09-19 16:29:04 ·
955 阅读 ·
0 评论