在iframe中重命名画面视图标题

时间:2017-09-02 17:52:21

标签: javascript jquery html iframe tableau

我有一个Tableau视图,我需要更改此视图的名称(span元素)。我无法访问此视图(这是一个例子,名称是“CT School Districts by Income and Grade Level Equivalents,2009 -13" )。我可以使用javascript或jquery来更改span元素吗?我正在尝试很多方法,没有任何工作。

<iframe src="https://public.tableau.com/views/CTSchoolDistrictsbyIncomeandGradeLevels2009-13/Sheet1?:embed=y&:display_count=yes&:toolbar=n&:showVizHome=no"
        width="645" height="955"></iframe>

jquery不起作用:

$("span:contains('CT School Districts by Income )")[0].replaceWith("Test");

0 个答案:

没有答案
相关问题