Replace button wording from "Enroll" to "Register"

james12
Community Member

Hi Everyone,

I would like to replace the button wording from "Enroll" to "Register". I believe it is possible with some Javascript but when I use the code below it removes the clickable button.

str = $('#enroll-hero').html();
$('#enroll-hero').html(str.replace(/Enroll/g,"Register"));

Your help is greatly appreciated! A screen shot of the button in question is attached. 

James