I am trying to translate this pop-up box with JS. But it does not work.
Here is the JS:
jQuery(document).ready(function( $ ){
if ($("html").attr("lang") === "en" )
jQuery('.sa-icon sa-custom > h2').html("We got your appointment requested plesae wait a least 24 hr. for an confirmation.");
});
Please check and help.