Skip to content

Instantly share code, notes, and snippets.

@lukemartin
Created February 7, 2013 11:10
Show Gist options
  • Save lukemartin/4730333 to your computer and use it in GitHub Desktop.
Save lukemartin/4730333 to your computer and use it in GitHub Desktop.
Parse ajax response html (jQuery)
$.ajax({
url: url,
success: function (response) {
var html = $('<div>').html(response).find('.something');
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment