在global variable添加loginuser变量
在link to and external url or file添加如下:[[Item.action]]#loginuser=[[loginuser]]
另外在本页面执行js的方法
在link to and external url or file添加如下:javascript:$($("div[data-label=mytable] span")[0]).text("sbb")
jquery操作axure中repeater的数据,动态隐藏列
open current window ,extenal link写入如下js代码
javascript:(function(){ var zhide = ""; var zprev = ""; var zshowlist = ",LineNo,SelectColumn,[[TabPage_Fields]],"; $("[data-label=RD] div[data-label=datagrid-header] .ax_default.box_1").each(function(){ zhide = $(this).attr("data-label"); if (zshowlist.indexOf(","+zhide+",")<0){ $(this).hide(); } else{ if (zprev !=""){ var positionleft=$(zprev).offset().left+ $(zprev).width(); console.log(positionleft); $(this).css("left" ,positionleft); } zprev = this; } });zprev = ""; $("[data-label=RD] div[data-label=datagrid-data] .ax_default.box_1").each(function(){ zhide = $(this).attr("data-label"); if (zhide == "LineNo") zprev = ""; if (zshowlist.indexOf(","+zhide+",")<0){ $(this).hide(); } else{ if (zprev !=""){ var positionleft=$(zprev).offset().left+ $(zprev).width(); console.log(positionleft); $(this).css("left" ,positionleft); } zprev = this; } }); })()