We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27310
    • 18 Posts
    Your Ajax-Search is not XHTML-Valide...

    It returns this code:
      <form id="ajaxSearch_form" action="index.php?id=15" method="post">
          <label for="ajaxSearch_input">
            <input id="ajaxSearch_input" type="text" name="search" value="Suchtext eingeben..." onfocus="this.value=(this.value=='Suchtext eingeben...')? '' : this.value ;" />
          </label>
          <label for="ajaxSearch_submit">
            <input id="ajaxSearch_submit" type="submit" name="sub" value="Suche!" />
          </label>
      </form>
      <div id="ajaxSearch_output" style="opacity:0;filter:alpha(opacity=0);-moz-opacity:0.;" > </div>
    


    And this code is valide:
      <form id="ajaxSearch_form" action="index.php?id=15" method="post">
        <fieldset>
          <label for="ajaxSearch_input">
            <input id="ajaxSearch_input" type="text" name="search" value="Suchtext eingeben..." onfocus="this.value=(this.value=='Suchtext eingeben...')? '' : this.value ;" />
          </label>
          <label for="ajaxSearch_submit">
            <input id="ajaxSearch_submit" type="submit" name="sub" value="Suche!" />
          </label>
        </fieldset>
      </form>
      <div id="ajaxSearch_output" style="opacity:0;filter:alpha(opacity=0);-moz-opacity:0.;" > </div>
    


    Pleace change it soon! wink
    Or tell me how to change it myself .
    -> I’ve only addet the HTML-Tag "<fieldset>"

    The valide-version is looked from JOT ... cool cool

    Or set a Parameter XHTML or somethink like this.
      • 25551 ☆ A M B ☆
      • 1,231 Posts
      I have already asked about this one and I received an answer on how to change it... You go to your ajaxSearch/includes/templates.inc.php and change the code there.

      http://modxcms.com/forums/index.php/topic,26288.0.html
        Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
        AugmentBLU - MODX Partner

        BLUcart - MODX Revolution E-Commerce & Shopping Cart
        • 27310
        • 18 Posts
        Thanks smiley

        I’ve searched for it, but I didn’t find an Answer ...
          • 24495
          • 407 Posts
          Try 1.8beta: http://modxcms.com/forums/index.php/topic,26687.0.html

          Has an excellent templating feature.