【发布时间】:2022-12-05 23:19:04
【问题描述】:
我需要搜索页面上的所有元素并添加到数组
现在主要的问题是找一段有.return class 的,如果里面有东西就写。
.return 段落可以为空且乱序,例如代码
at the end it should look like something like this:
{phrase: 'hi'},
{phrase: 'who are you',return: 'member'},
{phrase: 'im from stackoverflow'},
{phrase: 'okay,what about your question?', return: 'about array'},
【问题讨论】:
标签: javascript jquery