• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

WebSocket — How to display data on browser screen?

Q&A Forum › Category: ESP32 › WebSocket — How to display data on browser screen?
0 Vote Up Vote Down
Bernie asked 1 week ago

Hi Sara – I am trying to use WebSocket from the RNT article. I would like event.data to show on the screen instead of it picked up by JS.  Is there a way for the browser HTML to show the event.data on the browser screen?
If JS has to pick it up, how can I direct JS to put the data on the screen as HTML or plain?
Where does console.log(event.data) go?
Thanks a lot,
Bernie

Question Tags: ESP32 WiFi Esp32 Websocket

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023
  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.1) November 20, 2022

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.