2

Is it possible to find a <div> with some specific "data-name" attribute value?

For example: I need to find the <div data-name="place"> to include some code in it dynamically.

2

1 Answer 1

11

Sure, use $('div[data-name="place"]')

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.