A quick example to show how you can use the ::before and ::after pseudo elements to create arrows to be used with jQuery UI's tooltip widget.
No-Library (pure JS), HTML, CSS, JavaScript