Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var favTagNodes = $('<div><a class="post-tag">** Error loading favorite tags. **</a></div>')
- .load ("/questions #interestingTags>a.post-tag", function (response, status, xhr) {
- var favoriteTags = favTagNodes.find ("a.post-tag").map ( function () {
- return this.textContent;
- } )
- .get ();
- console.log ("favoriteTags: ", favoriteTags);
- } );
- {
- "items": [
- {
- "tag_preference_type": "favorite_tag",
- "user_id": 9999999,
- "tag_name": "git"
- }, {
- "tag_preference_type": "favorite_tag",
- "user_id": 9999999,
- "tag_name": "go"
- }, {
- "tag_preference_type": "ignored_tag",
- "user_id": 9999999,
- "tag_name": "java"
- }
- ...
- ],
- "has_more": false,
- "quota_max": 10000,
- "quota_remaining": 9997
- }
Add Comment
Please, Sign In to add comment