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         }

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM