{"action":"opened","issue":{"url":"https://api.github.com/repos/Waynepeng/Learn_JQuery/issues/35","repository_url":"https://api.github.com/repos/Waynepeng/Learn_JQuery","labels_url":"https://api.github.com/repos/Waynepeng/Learn_JQuery/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/Waynepeng/Learn_JQuery/issues/35/comments","events_url":"https://api.github.com/repos/Waynepeng/Learn_JQuery/issues/35/events","html_url":"https://github.com/Waynepeng/Learn_JQuery/issues/35","id":151376198,"number":35,"title":"JQueryempty","user":{"login":"Waynepeng","id":5806426,"avatar_url":"https://avatars.githubusercontent.com/u/5806426?v=3","gravatar_id":"","url":"https://api.github.com/users/Waynepeng","html_url":"https://github.com/Waynepeng","followers_url":"https://api.github.com/users/Waynepeng/followers","following_url":"https://api.github.com/users/Waynepeng/following{/other_user}","gists_url":"https://api.github.com/users/Waynepeng/gists{/gist_id}","starred_url":"https://api.github.com/users/Waynepeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Waynepeng/subscriptions","organizations_url":"https://api.github.com/users/Waynepeng/orgs","repos_url":"https://api.github.com/users/Waynepeng/repos","events_url":"https://api.github.com/users/Waynepeng/events{/privacy}","received_events_url":"https://api.github.com/users/Waynepeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-27T12:46:25Z","updated_at":"2016-04-27T12:46:25Z","closed_at":null,"body":"<!DOCTYPE html>\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html;charset=UTF-8\">\r\n<script src=\"http://www.w3school.com.cn/jquery/jquery-1.11.1.min.js\"></script>\r\n<script>\r\n$(document).ready(function(){\r\n\t$(\"button\").click(function(){\r\n\t\t$(\"#div1\").empty();\r\n\t});\r\n});\r\n</script>\r\n\r\n</head>\r\n<body>\r\n<div id=\"div1\" style=\"height:100px;width:300px;border:1px solid black; background-color:yellow;\">\r\nThis is some text in the div.\r\n<p>This is a paragraph in the div.</p>\r\n<p>This is another paragraph in the div.</p>\r\n</div>\r\n<br />\r\n<button>清空 div 元素</button>\r\n</body>\r\n</body>\r\n</html>"}}