WordPress.org

Support

Support » How-To and Troubleshooting » Using Javascript in a post

Using Javascript in a post

  • I would like to implement a little MD5 hash generator tool in one of my posts. I have a javascript file with an md5() function that returns the hash and I would like to include it into just this post and use the function in my page. I created an input text and button and onclick, I call the md5() function. How can I do this? Right now I get the error: Refused to execute a JavaScript script. Source code of script found within request.

    I tried the method here http://codex.wordpress.org/Using_Javascript but it did not work…

    Thanks,
    Matt

  • The topic ‘Using Javascript in a post’ is closed to new replies.