Impossible to get Javascript working – help!!
-
I have a site, in which I have the first page using some PHP and javascript code of my own. For the PHP part I got Exec-PHP working perfectly. The problem starts with the Javascript portion.
In my post I simply have:
<?php include("whatever.php"); ?>
Inside whatever.php I have some javascript code to dynamically update a form and validate it. Problem is, the javascript code is getting “messed with” by WP. It adds HTML tags, and it converts characters to HTML codes, rendering it useless.
I tried using Text Control, no use.
I tried activating Multi-site, thus enabling unfiltered-html, no use.I’m about to quit WP for good if I can’t run a simple javascript validation on my form. How hard can this be?
Please help! thanks
- The topic ‘Impossible to get Javascript working – help!!’ is closed to new replies.