Skip to content
CoursesWeb Forum
Sections

queryselector

3 threads tagged with this topic

Threads tagged queryselector

  1. ✓

    How do I get the value of the selected radio button in JavaScript

    I am building a tiny quiz page for my coding club. Each question has three radio buttons and a Check button. I tried this:

    JavaScript and the DOMOdalys F.Answered
    4replies
  2. ✓

    How do I convert old jQuery code to plain JavaScript?

    Convert it one habit at a time, not all at once. Replace $() with document.querySelector or querySelectorAll, .on() with addEventListener, .addClass() with...

    jQuery and Older Front End CodeTeodora VanceStaff answer
    1reply
  3. ✓

    querySelector or querySelectorAll: which one should I use?

    Use querySelector when you need one element: it returns the first match, or null if there is none. Use querySelectorAll when you need every match: it returns a...

    JavaScript and the DOMTeodora VanceStaff answer
    1reply
CoursesWeb Forum. Questions and answers on learning web development: HTML, CSS, JavaScript, PHP, MySQL, Node.js and AI coding help.