Replace button wording from "Enroll" to "Register"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2021
07:42 PM
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