Using Javascript in a post (1 post)

  1. mhintzke
    Posted 2 years ago #

    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...


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.