I'm using the latest version of TinyMCE module with Drupal 6.8. I'm trying to get javascript to run on one page only to calculate some due dates. When i copy and past my js code and html form code into the html source editor in tiny tiny mce, I've discovered that once I click the update button on the editor, the code changes by commenting out my functions within the script tags and changing the form tag from to only. Can anyone explain why this happens and how I can save my code to include the functions and form name so the javascript will run on this page?
I tried various options like setting valid_elements =*[*] and extended_valid_elements with script tage but no success. Please help.
Thank you in advance.