Get children categories

 

Simple Accordion Code

No complicated code. Just a tiny script:

HTML:

Javascript:

Add Window OnLoad Event (plain Javascript)

If you run into a situation where you need to add a window.onload event, and you cannot rely on a library to do the work (no jQuery), you can use old school, plain javascript, here is what you can do:

Download Remote Files Using Node

Here is a simple code snippet to help you use node to download a remote file URL to your computer