JQuery Working in IE not in Firefox
Hi,
I am newbie to jquery.I am working in a page it is working fine in IE not working in firefox.What is the actual problem?
My Code :
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"></script>
<script>
function suggest(inputString){
if(inputString.length == 0) {
$('#suggestions').fadeOut();
} else {
$('#country').addClass('load');
$.post("http://mydomain.com/testfolder/ajax/auto.php", {queryString: ""+inputString+""}, function(data){
if(data.length >0) {
$('#suggestions').fadeIn();
$('#suggestionsList').html(data);
$('#country').removeClass('load');
}
});
}
}
function fill(thisValue) {
$('#country').val(thisValue);
setTimeout("$('#suggestions').fadeOut();", 600);
}
</script>
PHP Code :
<?php
echo 'rajesh';
?>
thnx
rajesh