WordPress deleting code I’ve written when I view Visual

  • Unknown's avatar

    I wrote a bunch of code into the HTML tab, but if I click in the visual tab then the code I entered in the HTML changes. I am using Firefox and it is up to date. I am also using WP 2.9.2.

    The code I am using is:

    <div id=”subnavigation”>

    <label>Mens Brands:</label>

    <form name=”mens-brands”>

    <select name=”mens-brands” id=”mens-brands” onchange=”location.href=(this.value);”>

    <option disabled=”true”>Mens Brands</option>

    <option value=””>Select Mens Brand</option>

    <option value=”/shop/mens/10-deep”>10 Deep</option>

    <option value=”/shop/mens/22-fresh”>22 Fresh</option>…

    </optgroup>

    </select>

    </form></div>

    </br>

    and it keeps deleting the following line:

    <select name=”mens-brands” id=”mens-brands” onchange=”location.href=(this.value);”>

    How do I fix this?

    Thanks!

  • Unknown's avatar

    You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

  • Unknown's avatar
  • Unknown's avatar

    Please notice that our friendly supportbot has given you some important information:
    You are in the wrong forum. Check out the links above.

  • The topic ‘WordPress deleting code I’ve written when I view Visual’ is closed to new replies.