click

Function Description
Adds click event to the UPJSObject. When UPJSObject is clicked, it calls function that is given.
Function prototype
click(fn). Adds @fb to click event of the UPJSObject.
Function parameters
@fn - function to be called when UPJSObject clicked.
Sample HTML DIV element is given to try UPJS function.
Orange DIV
Click here!
Code area to try out click function.