url传递参数

1 url:'/randowCode?t='+Math.random();
2 //当给某个赋值可以:
3     $('#change').click(function(){
4         $("#codeimage").attr('src','/randomCode?t='+Math.random())
5     })

 

 1 //跟踪操作流程图的layer打开及参数传递
 2 else if (obj.event === 'show-process') {
 3             parent.layer.open({
 4                 type: 2,
 5                 title: '流程跟踪图',
 6                 shadeClose: true,
 7                 shade: 0.7,
 8                 offset: 'rb',
 9                 maxmin:true,
10                 area: ['50%', '100%'],
11                 content: '/flow/trace/hi.afca?processInstanceId=' + data.processInstanceId + '&ratio=&processDefinitionKey='//iframe的url
12             });
13         }

 

posted @ 2018-04-26 07:21  前端极客  阅读(2211)  评论(0编辑  收藏  举报