angularjs怎么实现页面间值的传递

2024-10-30 09:41:10
推荐回答(2个)
回答(1):

extjs传参和用什么语言做后台处理没关系,用以下方法传值过去,然后用相应语言接收参数的方法正常接收就行了,
1.ajax方法传值:
Ext.Ajax.request(

回答(2):

代码如下
$scope.scrolltoindex = function(target){

$location.url('/');

mid = target.getAttribute('mid');

var old = $location.hash();

$location.hash(mid);

$anchorScroll();

$location.hash(old);

};