# Example #1

# Simple upload button

The following code shows you how to open the UploaderWindow popup when the user clicks a <button>.

The upload is then added to a HTML <form> using hidden form field named url for the purpose of this demo.

:::tip Click the Result tab to interact with the demo. Click "Edit on Codepen" link to play around with it using your own code. :::

N.B: For brevity this demo uses jQuery to create a hidden form field but the same can be done with vanilla Javascript too.


# Next up: Drag-n-drop uploader