jQuery get content between
tags

前端 未结 8 1451
情歌与酒
情歌与酒 2020-12-05 04:10

This\'ll probably be easy for someone:

var x = \'

blah

8条回答
  •  忘掉有多难
    2020-12-05 04:35

    Use the text method [text()] to get text in the div element, by identifing the element by class or id.

提交回复
热议问题