jQuery(document).ready(function($) { $(".mdb-select").multiselect(); jQuery(".project-type .ui-multiselect span:last-child").text(function () { return jQuery(this).text().replace("Select options", "Select Project Type"); }); $(document).find('.roofing-form-outer #wpcf7-f199725-p56-o1 .cf7mls_next').text('Continue to Next Step'); });