I have included some JavaScript and a form in my WordPress blog post. The whole thing works great when it's a standalone HTML page, but when I make it a WordPress post the "Highlight" (submit) button doesn't work.
I suppose the WordPress formatting or markup is breaking things. But I use the text control plugin and my form still doesn't work even when I remove formatting and character encoding.
How can I get my "Highlight" button to work?
Below is the working HTML file, followed by the Wordpress blog code (the only difference is that the Wordpress code lacks tags like: <html> <head> </head> <body> </body> </html>
)
Here's the HTML file, try it for yourself:
http://wordpress.pastebin.ca./684541
And here's the non-working WordPress code:
http://wordpress.pastebin.ca./684542
Any ideas?