• I have a snippet of js code in one of my WP pages for a drop-down menu:

    <select id=”jumpMenu” name=”jumpMenu” onchange=”MM_jumpMenu(‘parent’,this,1)” >

    When editing this page, if I go into the Visual mode and then back to HTML, WP eliminates onchange=”MM_jumpMenu(‘parent’,this,1)” from the code. Why is this happening?

    Thanks

Viewing 1 replies (of 1 total)
  • Because the wysiwyg animal is NOT for using/typing code. It is for code illiterates.

    Want your own code? Turn the visaul off for good and everything will be OK.

Viewing 1 replies (of 1 total)

The topic ‘WP Eliminating code from a post’ is closed to new replies.