Another event that can be used to trigger actions is the mouse down event.
In this example we can see that an alert message appears as soon as the mouse button is pushed down
the code block for this action is almost identical to the others we've looked at so far.
The only difference is that we've updated the event to most down.
You can see that this event will affect the element with IDP one an IDP one is located over here and
contains this a paragraph of text similar to mouse down we also have mouse up.
This will trigger the action as soon as we let go of the mouse button after clicking so if we save the
page and refresh.
Now the pop up appears after we've clicked and fully let go of the mouse button.