$(document).ready(function() { $('label[for="signup-name-input"]').text('Name'); $('label[for="signup-mobile-input"]').text('Mobile Number'); $('label[for="signup-email-input"]').text('Email'); $('label[for="signup-dob-input"]').text('Date of birth'); $('#btn-signup').text('Get Started'); $('.text-center.mt-5').contents().filter(function() { return this.nodeType === 3; // Text node }).first().replaceWith('Already have an account? '); $('.text-center.mt-5 a').text('Login here'); $('label[for="signup-mobile-input"]').text('Mobile Number'); $('#popup_upload_receipt').on('shown.bs.modal', function(){ // $('.challenge_item_description').text('Upload receipt to gain chance to win $60 Grab vouchers.'); $('#popup_upload_receipt-upload-btn-text').text('Upload Receipt'); $('#cropper-editor h5').text('Crop Your image to its Edges'); $('#cropper-preview h5').text('Click Confirm to Submit Receipt'); // $('.status_item h5').text('Please Review Your Uploaded Image'); $(".status_item[status_id='submit'] h5").text("Please Review Your Uploaded Receipt"); }); $(".text-bold.text-center").contents().first()[0].textContent = "spins:"; $(".form-check-label span").html(function(_, html) { return html.replace("PacificWestContest3", "PacificWest"); }); $('.main-game-component-cta .btn-primary').text('Spin'); });