I ran into a situation whereby i have to enable https when a user click on a button.
my current url is as follows: myurl.com
i have to do the following:
$(".btn").click(function(){
// change url to https://myurl.com
});
My current button's html:
<button class="btn" data-statsopt_noninteraction="" data-statsopt_value="" data-statsopt_label="login" data-statsaction="account-actions" data-statscategory="header-events">LOG IN</button>
Any help would much be appreciated
Thanks