WordPress.org

Ready to get started?Download WordPress

Forums

Inline Javascript? (7 posts)

  1. savvy
    Member
    Posted 9 years ago #

    I'm having a hard time adding javascript into my posts. No matter what I try, it always replaces the single quotes with the html encoded equivalent.

    Any ideas? None of the following seem to work...

    <script language="javascript" type="text/javascript">vid_qt('/video/test.mov',450,264);</script>

    <script language="javascript" type="text/javascript">vid_qt('/video/test.mov',450,264);</script>


    <script language="javascript" type="text/javascript">vid_qt('/video/test.mov',450,264);</script>

  2. ColdForged
    Member
    Posted 9 years ago #

    Try seeing if this lends some help.

  3. savvy
    Member
    Posted 9 years ago #

    I installed TextControl...
    http://dev.wp-plugins.org/wiki/TextControl

    But the simple 3-part installation doesn't change anything on my admin pages.

    I don't see it under the Options or withing the Manage Posts.

    Sorry, still a noob at WP.

  4. stfarm
    Member
    Posted 8 years ago #

    Did you ever get it to work? I have the same problem.

    Steve
    http://www.GeekTavern.com

  5. ian2
    Member
    Posted 8 years ago #

    I am using this plugin and selected "No Formatting" And still no JS is being displayed

  6. I just pasted <script language="javascript" type="text/javascript">vid_qt('/video/test.mov',450,264);</script> into a test post and it got spit out just fine.

    Are you using the latest version of WordPress?

  7. ian2
    Member
    Posted 8 years ago #

    Hi:

    Yes I am but Iam not using it for a video sorry .. I am just using javascript in a code.

Topic Closed

This topic has been closed to new replies.

About this Topic