256 Kilobytes

Answers in Client-Side | By Some Guy


398 views, 0 RAMs, and 1 comment

Tags: JavaScript, QuerySelector

Profile Photo - Some GuySome GuyBasic Subscriber

So I've been trying to code in JavaScript and I keep running into this weird error message: "QuerySelector not working for multiple attributes". But I don't get what I'm doing wrong. Has anyone else run into this? How did you fix it?

Download more RAM. 🐏 ⨉ 0Posted by Some Guy 1 year ago 🕓 Posted at 13 January, 2019 04:36 AM PST

This is a debug account.

Profile Photo - DefaultAliSoftware DeveloperTurkey

You should show some code. But this error generally is thrown when you use space between attributes.

document.querySelector("[data-id='1'] [data-username='opcode']")

To solve this error you should use like that. If you remove spaces, your query will work.


Users Who Have Downloaded More RAM:
August R. Garcia (1 year ago)
🐏 ⨉ 1
Posted by Ali 1 year ago 🕓 Posted at 29 May, 2019 05:23 AM PDT


Post a New Comment

Do you like having a good time?

Register an Account

You can also login to an existing account or reset your password. All use of this site is subject to the terms of service and privacy policy.

Read Quality Articles

Read some quality articles. If you can manage to not get banned for like five minutes, you can even post your own articles.

View Articles →

Argue with People on the Internet

Use your account to explain why people are wrong on the Internet forum.

View Forum →

Vandalize the Wiki

Or don't. I'm not your dad.

View Wiki →

Ask and/or Answer Questions

If someone asks a terrible question, post a LMGTFY link.

View Answers →

Make Some Money

Hire freelancers and/or advertise your goods and/or services. Hire people directly. We're not a middleman or your dad. Manage your own business transactions.

Register an Account

Answers— Read More

Find more related content below!