Title: Target element created by jQuery
Last modified: July 7, 2023

---

# Target element created by jQuery

 *  [grw1](https://wordpress.org/support/users/grw1/)
 * (@grw1)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/target-element-created-by-jquery/)
 * Hello!
 * I’m adding an element with jQuery containing a SVG and I can’t seem to target
   it with **CSS Class to target**.
 * I’ve tested it with a HTML block with the same content and it works – is it not
   possible with elements created by javascript or jQuery?

The topic ‘Target element created by jQuery’ is closed to new replies.

 * ![](https://ps.w.org/svg-support/assets/icon.svg?rev=1417738)
 * [SVG Support](https://wordpress.org/plugins/svg-support/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/svg-support/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/svg-support/)
 * [Active Topics](https://wordpress.org/support/plugin/svg-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/svg-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/svg-support/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [jquery](https://wordpress.org/support/topic-tag/jquery/)

 * 0 replies
 * 1 participant
 * Last reply from: [grw1](https://wordpress.org/support/users/grw1/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/target-element-created-by-jquery/)
 * Status: not resolved