title: Sending a message to esp32 access point with javascript
body: <p>The thing that I am trying to do is this:</p>
  <ol>
  <li><p>Set an esp32 board as an access point.</p>
  </li>
  <li><p>Create a website where we can enter the credentials of the access point (ssid, pass), connect to it and then start exchanging messages with the board.</p>
  </li>
  </ol>
  <p>Now, after having set the esp32 as an access point, how can we connect to it with javascript and start exchaning messages ?</p>
  <p>I am guessing I will have to use sockets, but I dont really know how to use them with javascript, and the information from the web for this topic is not really helpful for me.</p>
  <p>Any guidance on how to achieve this or what to read would be appreciated. Thanks.</p>
  <p>Edit: The website is running on an orange pi board.</p>