WordPress.org

Forums

Ajax Search Lite
Page validation error: Attribute name not allowed on element div at this point (2 posts)

  1. dogdays
    Member
    Posted 9 months ago #

    The website is not validating because of an error that comes in after the form tag - in the div under the class "label".

    Validation error: "Attribute name not allowed on element div at this point"
    This is the portion highlighted
    <div class="option hiddend" ); ?>">

    The topic is covered here at Stackoverflow:
    http://stackoverflow.com/questions/4962070/attribute-name-not-allowed-on-element-div-at-this-point

    Found the relevant css -- shouldn't be a "name" class, but an "id" ?
    .hiddend {
    display:none;
    }

    Not sure which file I need to revise in the php or js to fix this... any help would be appreciated.

    Thx!

    https://wordpress.org/plugins/ajax-search-lite/

  2. dogdays
    Member
    Posted 9 months ago #

    Actually, this attribute name is generating a number of validation errors:

    HTML errors and warnings:
    1) "Error: Attribute ? not allowed on element div at this point."
    2) "Warning: Attribute ); is not serializable as XML 1.0."

    NOTE: <div class="label hiddend" ); ?>">
    The above line appears in code at least 3 times.

Reply

You must log in to post.

About this Plugin

  • Ajax Search Lite
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic