Skip to content

Instantly share code, notes, and snippets.

@bobpaw
Created June 25, 2020 02:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bobpaw/48ba18af4894ca4c0846030990ddcfae to your computer and use it in GitHub Desktop.
Save bobpaw/48ba18af4894ca4c0846030990ddcfae to your computer and use it in GitHub Desktop.
Performs an AJAX request for the pokedex page based on dex id
ajax('/dex/details', {id: '054r7'}).success(function (a) {var newWindow = window.open(); newWindow.document.write(a.html)})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment