如何在jquery中更改表格的文本?

2 jquery html5 jquery-ui css3

我有下面的表格

<table>
 <tr> <th>Document</th> <th>...</th></tr>
 <tr><td>...</td>... </tr>
 ...
</table>
Run Code Online (Sandbox Code Playgroud)

现在我想通过jQuery将"文档"的文本更改为"营销文档/ URL"...请帮助我!!!

Mox*_*hah 5

$("table tr>th:first").html("Marketting Document/URL");
Run Code Online (Sandbox Code Playgroud)
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<table>
 <tr> <th>Document</th> <th>1</th></tr>
 <tr><td>2</td>3 </tr>
</table>
Run Code Online (Sandbox Code Playgroud)

尝试这样的事情:

console.log($("table tr>th:first").html("Marketting Document/URL"));
Run Code Online (Sandbox Code Playgroud)