Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

AJAX search suggest not working in IE8


Recommended Posts

  • 2 weeks later...

Hi have the same problem....



i have try to change like last update contribution, but dont work, work only on firefox...













requestInstance = new ActiveXObject("MSXML2.XMLHTTP.6.0");

} catch (e) {

try { // then try the others...

requestInstance = new ActiveXObject("Msxml2.XMLHTTP");

} catch (e) {

try { // last chance...

requestInstance = new ActiveXObject("Microsoft.XMLHTTP");

Link to comment
Share on other sites

i have resolved the problem on my site, now it work...


on my site the problem was on the search_suggest.xml

, i dont know if your problem is the same...but you can try....


IE8 dont work on table and getelements..


i have reconvert all with div and now work on all IE and firefox...


so the search_suggest.xml must be:


<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD Xhtml 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



* osCommerce: XSLT Example for OSCFieldSuggest JS class


* File: includes/search_suggest.xsl

* Version: 1.0

* Date: 2007-03-28 17:49

* Author: Timo Kiefer - timo.kiefer_(at)_kmcs.de

* Organisation: KMCS - www.kmcs.de

* Licence: General Public Licence 2.0



<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output encoding="UTF-8" indent="no" method="html" doctype-public="-//W3C//DTD Xhtml 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>

<xsl:template match="/">

<xsl:for-each select="response/suggestlist/item"><div style="cursor: pointer; width:300px; opacity: 0.9; filter: alpha(opacity=90); background-color: #FFFFFF; border-collapse: collapse; border-top: 1px solid #C6C6C6; padding: 1px; color:#000000; font-size: 8pt; font-family: Verdana;" onclick="window.location.href = '{url}';" onmouseover="this.style.backgroundColor = '#005388'; this.style.color = '#FFFFFF';" onmouseout="this.style.backgroundColor = '#FFFFFF'; this.style.color = '#000000';"><xsl:value-of select="name"/></div></xsl:for-each>



Link to comment
Share on other sites

  • 3 months later...

i have this problem in firefox only. ie works fine


so i just test it by typing in some crap .. for eg .. SS and this happens


Sorry, the file searchsuggest.php?keywords=ss couldn't loaded!


anyone got any ideas?

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...