当前位置:网站首页>003-JS-DOM-Attr-innerText
003-JS-DOM-Attr-innerText
2022-06-30 04:56:00 【Qingcheng】
JS-DOM-Attr-innerText
- Get the Text Content .
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>01_dom_#attr_innerText</title>
</head>
<body>
<div id="app"><h1> I don't want to go to work today !</h1></div>
<script> let element = document.getElementById('app') let innerText = element.innerText; // I don't want to go to work today ! console.log(innerText) </script>
</body>
</html>
边栏推荐
- How to repair expired SSL certificates?
- Webots notes day 2
- 力扣977. 有序数组的平方
- 【Paper】2015_ Coordinated cruise control for high-speed train movements based on a multi-agent model
- Solution to Autowired annotation warning
- Unreal 4 learning notes - Animated Montage
- [UGV] schematic diagram of UGV version 32
- JPA复合主键使用
- amd锐龙CPU A320系列主板如何安装win7
- [UAV] kinematic analysis from single propeller to four rotor UAV
猜你喜欢
![[UAV] kinematic analysis from single propeller to four rotor UAV](/img/32/1a88b102f832ffbbc1a7e57798260a.jpg)
[UAV] kinematic analysis from single propeller to four rotor UAV

Spring Festival Tourism Strategy: welcome the new year in Bangkok, Thailand

【Paper】2013_ An efficient model predictive control scheme for an unmanned quadrotor helicopter

IIS request SSL certificate

Method of applying for code signing certificate by enterprise

為什麼win10開熱點後電腦沒有網絡?

Easyrecovery data recovery software recovers my photo and video data two years ago

Some books you should not miss when you are new to the workplace

Efficiency test of adding and querying ArrayList and LinkedList

Wildcard SSL certificate issuing time
随机推荐
Wildcard SSL certificate issuing time
Unity lens making
Unreal 4 unavigationsystemv1 compilation error
PS1 Contemporary Art Center, Museum of modern art, New York
Sourcetree usage
amd锐龙CPU A320系列主板如何安装win7
Some books you should not miss when you are new to the workplace
Keywords implements and @override
Unity/ue reads OPC UA and OPC Da data (UE4)
Solution to the 292 week match of Li Kou
Unity3d realizes Google Digital Earth
This connection is not a private connection this website may be pretending to steal your personal or financial information
力扣27. 移除元素
0 basic unity course. Bricklaying
A collection of errors encountered in machine learning with unity
Cheap SSL certificate abroad
JPA composite primary key usage
Unity ontriggerenter does not call
The most comprehensive summary notes of redis foundation + advanced project in history
[UGV] schematic diagram of UGV version 32