【发布时间】:2011-02-14 09:47:01
【问题描述】:
我正在使用 CEWP (webpart) 并将此代码放在那里。但这段代码不在<head> 标签内。我需要在<head>标签中插入这段代码,
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">
$("*").each(function () { if ($(this).children().length == 0) { $(this).text($(this).text().replace('Respuesta','Responder')); } });
</script>
我该怎么做?此代码将如何在 CEWP webpart 中工作?
【问题讨论】:
标签: javascript jquery sharepoint cewp