0

I have tried adding this JavaScript embed code to my SharePoint page and it was saying it will only accept Iframe tags. The code is working fine in JS W3 School. Can anyone please help ?

<div id="ja-jobs-widget"></div>
<script>
    var _jaJobsSettings = {
        key: "bbhc36kiqfoudkoc4yd7qaihf4"
    };
</script>
<script src="//apps.jobadder.com/widgets/v1/jobs.min.js"></script>

3
  • I switched the snippet language to html and it seems to run fine here in this page now. Snippets do run in iframes so this may or may not help you Commented Jun 10, 2021 at 1:24
  • does this help: stackoverflow.com/questions/6553584/… Commented Jun 10, 2021 at 1:26
  • <iframe src='yourURLHere.php'></iframe> is how you assign a webpage to an iframe. It has to be a full webpage that generates HTML. You can do like <iframe src='yourURLHere.html#idToTarget'></iframe> to just load partial content on a full page, though. Commented Jun 10, 2021 at 1:39

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.