• Resolved isay81

    (@isay81)


    I just upgraded to 3.5.1 on a new website and not I can’t make the Java scipt for a drop down question and answer page work. I pasted the code directly form a prior word press site that I have and it works great on the old site, but not on the new.

    The old site is http://contractorswatchdog.com/?page_id=5 The question with a drop down is towards the bottom of the page.

    The new site is http://brighampharmacy.com/?page_id=33. Same exact code.

    I think I have found a bug. How do I tell someone that matters?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Resolve your unclosed <script> tag underneath your JavaScript.

    Edit: Actually it is closed, but there is some HTML that is breaking JavaScript. Try to remove those paragraph tags.

    <script type="text/javascript" language="JavaScript">// <![CDATA[
    function toggle(tag) {
     if (tag.style.display=='') {
     tag.style.display='none'
     } else {
     tag.style.display=''
     }
     }</p>
    <p>// ]]></script>
    Thread Starter isay81

    (@isay81)

    Ahhh the old you must
    Disable Visual Editor for this page. Useful if you enter simple HTML or other code.
    Allow Raw HTML and scripts. Disables auto paragraph, texturize, and other processing

    THANK YOU! I was so perplexed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘3.5.1 Bug with drop down answer’ is closed to new replies.