Get a Div Value in JQuery

后端 未结 7 2004
无人共我
无人共我 2020-12-13 09:26

I have a page containing the following div element:

Some Value

How woul

7条回答
  •  借酒劲吻你
    2020-12-13 09:57

    if you div looks like this:

    Some Value

    you could retrieve it with jquery like this:

    $('#someId').text()
    

提交回复
热议问题