Thanks,vwphillips!you's code is very usful.
I made a mistake in my codes,and someone told me a very simple answer:p
<button onclick="getText(document);">GetText</button> is not right.
Type: Posts; User: dororo
Search: Search took 0.00 seconds.
Results 1 to 5 of 5