Search field using Ultraseek

Posted by tony noriega on Stack Overflow See other posts from Stack Overflow or by tony noriega
Published on 2010-05-06T20:58:53Z Indexed on 2010/05/06 21:08 UTC
Read the original article Hit count: 234

Filed under:
|

So i realized today that using IE to do a search on my site, for instance the term "documents" returns the search results. if i use FireFox or Chrome the data in the input field is not recognized...

now i looked at the code, and realized that there are no tags around the input fields... BUT if i put them, then IE does not work...

what the heck do i do?

<div class="searchbox" id="searchbox">
        <script type="text/ecmascript">
        function RunSearch() {
            window.location = "http://searcher.example.com:8765/query.html?ql=&amp;col=web1&amp;qt=" + document.getElementById("search").value;
        }    
    </script>
        <div class="formSrchr">
              <input type="text" size="20" name="qt" id="search" />
                                <input type="hidden" name="qlOld" id="qlOld" value="" />
                                <input type="hidden" name="colOld" id="colOld value="web1" />
              <input type="image" name="imageField" src="/_images/search-mag.gif" width="20" height="20" onclick="RunSearch();" />
        </div>
</div> <!-- /searchbox -->

© Stack Overflow or respective owner

Related posts about html

Related posts about JavaScript