small compatible error in mozilla

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

in internet explorer its working fine, where as coming to firefox its
showingBB=BF symbol with the output.
thanking u in advance.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://">
<html xmlns=3D" ">

<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8" />
<title>Ajax Auto Suggest</title>

<script type=3D"text/javascript" src=3D"jquery-1.2.1.pack.js"></script>
<script type=3D"text/javascript">
   function lookup(inputString) {
      if(inputString.length =3D 0) {
         // Hide the suggestion box.
      } else {
         $.post("rpc.php", {queryString: ""+inputString+""},
            if(data.length >0) {
   } // lookup

   function fill(thisValue) {
      setTimeout("$('#suggestions').hide();", 200);

<style type=3D"text/css">
   body {
      font-family: Helvetica;
      font-size: 11px;
      color: #000;

   h3 {
      margin: 0px;
      padding: 0px;

   .suggestionsBox {
      position: relative;
      left: 30px;
      margin: 10px 0px 0px 0px;
      width: 200px;
      background-color: #212427;
      -moz-border-radius: 7px;
      -webkit-border-radius: 7px;
      border: 2px solid #000;
      color: #fff;

   .suggestionList {
      margin: 0px;
      padding: 0px;

   .suggestionList li {

      margin: 0px 0px 3px 0px;
      padding: 3px;
      cursor: pointer;

   .suggestionList li:hover {
      background-color: #659CD8;



            Type your county:

            <input type=3D"text" size=3D"30" value=3D"" id=3D"inputString"
onkeyup=3D"lookup(this.value);" onblur=3D"fill();" />

         <div class=3D"suggestionsBox" id=3D"suggestions" style=3D"display:
            <img src=3D"upArrow.png" style=3D"position: relative; top:
-12px; left: 30px;" alt=3D"upArrow" />
            <div class=3D"suggestionList" id=3D"autoSuggestionsList">


Re: small compatible error in mozilla schreef:
Quoted text here. Click to load it

try comp.lang.javascript

Erwin Moller

Site Timeline