The MU forums have moved to WordPress.org

Trying to insert code into a page..... (4 posts)

  1. Robertlg39
    Member
    Posted 14 years ago #

    Hello,

    I'm trying to insert the following code:
    <div style="display: inline">
    <script
    id="shelp"
    src="http://1.2.3.4/?embed"
    type="text/javascript">
    </script>
    </div>

    - and when I do, and click "update", it strips out everything between the <div and </div>

    Can anyone tell me how to do this?

    Thank you!!
    Rob

  2. dgilmour
    Member
    Posted 14 years ago #

  3. tdjcbe
    Member
    Posted 14 years ago #

    If you search the forums for javascript, you'll see other threads as well as discussion.

    Just to clarify though, the closing > mark of the beginning div is left in, right? You don;t have it there. Just want to make sure. That closing > mark isn;t being stripped?

  4. Robertlg39
    Member
    Posted 14 years ago #

    Thank you both - worked great!

About this Topic

  • Started 14 years ago by Robertlg39
  • Latest reply from Robertlg39