I have several elements with this class: text-muted text-right
. These elements have differents innerText
properties. I want to get only one of them:
22/11/2022 17:35:41
I want to get only that value
You can try:
const found = eben.find(element => element.innerText === '22/11/2022 17:35:41')
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.