I'm trying to redirect all links to a particular page on our site to a secure connection using jQuery. This code works fine in IE, but it doesn't work in any other browser (tried it in Chrome, Firefox, and Safari). Any idea why this wouldn't work?
$(function() {
$(“a[href*=’enroll_now.aspx’]”).attr(“href”, “https://www.[redacted].com/enroll_now.aspx”);
});