Open url on clicking option

Good Evening Everyone,

Im having difficulty finding the right information,

I believe its possible to have an option within a Select2 select dropdown automatically trigger the link from the value field.

The code and files im using are


					<optgroup label="">
					<option value"https://www.example.html">OPTION TITLE</option>


$(document).ready(function() {


Can anyone point me in the right direction for docs/codepens etc that will help.