Javascript code getting changed when saved

4 posts by 3 authors in: Forums > CMS Builder
Last Post: September 17, 2012   (RSS)

By MercerDesign - September 17, 2012

I have a client that wants to paste the attached (1) into the html source editor, when she does and when I do too it changes the code (2). Please can you have a look and let me know what is going on.
Attachments:

two.rtf 2K

one.rtf 2K

Re: [MercerDesign] Javascript code getting changed when saved

By Toledoh - September 17, 2012

Try setting the field up at a text box rather than a WYSIWYG?
Cheers,

Tim (toledoh.com.au)

Re: [MercerDesign] Javascript code getting changed when saved

By Jason - September 17, 2012

Hi,

You can make a change to the wysiwyg editor so that it doesn't strip out your javascript.

See this post:
http://www.interactivetools.com/forum/gforum.cgi?post=77059#77059

Please note that you should make a copy of wysiwyg.php, saving it as wysiwyg_custom.php. Then make the changes in the new wysiwyg_custom.php file.

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/