Skip to content

Instantly share code, notes, and snippets.

@CrazyPython
Last active September 11, 2016 20:48
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 CrazyPython/365615598342b220dc5735235682f0e3 to your computer and use it in GitHub Desktop.
Save CrazyPython/365615598342b220dc5735235682f0e3 to your computer and use it in GitHub Desktop.
> a = document.getElementById('some-id')
<input class="" (snip) />
> $(a)
VM1739:187 Uncaught DOMException: Failed to execute 'querySelector' on 'Document': '[object HTMLInputElement]' is not a valid selector.(…)CommandLineAPIImpl.$ @ VM1739:187(anonymous function) @ VM2216:1
newtab-serviceworker.js:61
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment