You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • This is ESP8266?

    You should be able to use both client and server-side code.

    You can serve up other files using the server, for instance you can use this: http://www.espruino.com/File+Converter

    To convert them to a string, and can then include the string. However you'll find jQuery is far too big for you to do that with.

    If you were using an official Espruino board there's a filesystem library built-in so you could wire up an SD card and then serve files off that too.

    However for a non-internet-connected ESP8266 I'd strongly urge you to stay away from jQuery. You can do pretty much everything you need using normal JavaScript calls like document.querySelector now - web browsers have moved on a long way from where they were 10 years ago, and normal JavaScript DOM calls will 'just work' on all browsers - no need for jQuery at all.

About

Avatar for Gordon @Gordon started