[{"pk": 1, "model": "social.thing", "fields": {"content": "this is good", "visible": true, "user": 1, "parent": [2], "title": "hat i like"}}, {"pk": 5, "model": "social.thing", "fields": {"content": "because must be good", "visible": true, "user": 1, "parent": [2], "title": "another good thing"}}]
是否有可能从我的列表中的某个字典中追加某个DOM元素单个值?例如,如何从这个列表中选择"pk":1
?字典列表从字段中获取单个值
你想从sttring/list中选择''pk':1'还是试图得到'pk'的值? –
试图从上面的数组中获得“pk:1” – krzyhub
您向我们展示的数据中的DOM因素在哪里?什么是“某些DOM元素单值”? “选择”是什么意思? –