• Blog
    News Doctor Who
  • Computers
    Homelab self-hosted services Chromebooks Hardware Apple Arduino Linux SBC's Linux
  • Privacy
    Social Media Warfare Spying
  • Software Development
    Spring Docker AWS Serverless Node.js
  • Catalog
    Learn Node.js Programming Learn Docker Arduino Raspberry Pi
  • About

JavaScript

» TechSparx » Software Development » JavaScript

How to read array of values from browser DOM using jQuery, or in Node.js using Cheerio

(2019-03-11T22:00:00.000Z) Typically with jQuery or Cheerio we read or write strings and numbers to/from the DOM, but what if we must use objects or arrays of data? The jQuery documentation mentions data-* attributes, but the documentation is not entirely clear how to use this for reading/writing objects or arrays to/from the DOM.

Subscribe via RSS

Docker and Kubernetes for Java Developers: Scale, deploy, and monitor multi-container applications
Write Modern Web Apps with the MEAN Stack: Mongo, Express, AngularJS, and Node.js (Develop and Design)
CanaKit Raspberry Pi 3 Complete Starter Kit - Includes 32 GB Samsung EVO+
Arduino Uno 3 Ultimate Starter Kit Includes 12 Circuit Learning Guide
People think it's magic, we call it engineering
About TechSparx