set text in html through jquery

PHOTO EMBED

Mon Jan 29 2024 06:55:13 GMT+0000 (Coordinated Universal Time)

Saved by @irfanelahi

      <script>
        function SetPopupText(img, heading1, heading2, description, page)
        {
            console.log(heading1);
            debugger;
            $('#h2H1').html(heading1);
            $('#h2H2').html(heading2);
            $("#imgPopupBanner").attr("src",img);
            $("#pDesc").text(description);
            $("input[type='hidden'][name='page']").val(page);
            return true;
        }
      </script>
content_copyCOPY