{"action":"opened","issue":{"url":"https://api.github.com/repos/Shazwazza/Articulate/issues/82","labels_url":"https://api.github.com/repos/Shazwazza/Articulate/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/Shazwazza/Articulate/issues/82/comments","events_url":"https://api.github.com/repos/Shazwazza/Articulate/issues/82/events","html_url":"https://github.com/Shazwazza/Articulate/issues/82","id":89037854,"number":82,"title":"Ajax search","user":{"login":"wroughtec","id":74549,"avatar_url":"https://avatars.githubusercontent.com/u/74549?v=3","gravatar_id":"","url":"https://api.github.com/users/wroughtec","html_url":"https://github.com/wroughtec","followers_url":"https://api.github.com/users/wroughtec/followers","following_url":"https://api.github.com/users/wroughtec/following{/other_user}","gists_url":"https://api.github.com/users/wroughtec/gists{/gist_id}","starred_url":"https://api.github.com/users/wroughtec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wroughtec/subscriptions","organizations_url":"https://api.github.com/users/wroughtec/orgs","repos_url":"https://api.github.com/users/wroughtec/repos","events_url":"https://api.github.com/users/wroughtec/events{/privacy}","received_events_url":"https://api.github.com/users/wroughtec/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-17T14:47:38Z","updated_at":"2015-06-17T14:47:38Z","closed_at":null,"body":"Is it possible to link up the search with an ajax call so that only the bare minimum of data comes through when I have tried a basic call it basically brings in the whole page in again:\r\n````\r\n<script>\r\n\t$(document).ready(function() {\r\n\t    var content = $('#searchstring').val();\r\n\t    $('#searchstring').keyup(function() {\r\n\t        if ($('#searchstring').val() != content) {\r\n\t            content = $('#searchstring').val();\r\n\t            $.ajax({\r\n\t               type: \"GET\",\r\n\t               url: \"@Url.ArticulateSearchUrl(Model)\",\r\n\t               data: \"term=\" + content,\r\n\t               success: function(msg){\r\n\t                 $('#blogresult').html(msg);\r\n\t               }\r\n\t             });\r\n\t        }\r\n\t    });\r\n\t});\r\n</script>"}}