Site menu

CodeCook.io

  • Languages
    • C
    • C++
    • CSS
    • Git
    • HTML
    • Java
    • JavaScript
    • jQuery
    • PHP
    • Python
    • Ruby
    • Scala
  • css
  • dom

jQuery - Select dom element by css query

Method of picking specific element or elements by executing a css style query. For example "#id" or "div".

0
598
  • Share on Facebook
  • Share on Google+
  • Share on Twitter
$("{{query}}")
javascript

Notes

last update: Oct. 24, 2014

Advertisement

This project is hosted on DigitalOcean, try it and support us

Related concept

  • Select dom element by class
  • Select element by data attribute
  • Toggle DOM element class
  • Select dom element by id
  • Select dom elements by tag

Other language

  • JavaScript

Random task

  • Test if string contains another string
  • Add user group
  • Append item to array
  • Get public IP address
  • Strip whitespace around string
  • Blog
  • About
  • License