I’ve been looking into this example: https://docs.particle.io/guide/getting-started/examples/core/#control-leds-over-the-39-net
and was wondering if it is possible to prevent the redirecting to the “response” in the .html file. I just want to stay on the same site website I was on.
Anybody know if this is possible?
This doesn’t really have anything to do with the
Particle.function() but only with the HTML code.
If you want to have a nicer client side there, you might want to look into
You can also have a look how these sites are built
And this tutorial (and others by the awesome @bko)
Tutorial: Spark Variable and Function on One Web Page