I have one solution for this kind of problems: Forcing IE8 to behave
like IE7 by adding a meta line into the head section.
Like this:
meta http-equiv=X-UA-Compatible content=IE=7 /
I guess IE8 have many issues related to javascript, so it would be the
best solution for this.
On 28 Ekim,
I found a way to get rid of this problem but I'm not sure it makes
sense (at least to me). Here it is:
I put all of this code into a seperate .JS file and specify the full
path of Autocomplete.aspx file. For example;
...
$(#txtSearchBox).autocomplete(http://localhost/MySite/
I'm using jQuery autocomplete and here's my code:
script type=text/javascript src=js/jquery-1.2.6.js/script
script type=text/javascript src=js/jquery.autocomplete.js/
script
script type=text/javascript
!--
$(document).ready(function(){
$(#txtSearchBox).autocomplete(Autocomplete.aspx,
Sorry, my mistake. There was extraParams line after that comma. So,
jQuery code should be like this:
$(document).ready(function(){
$(#txtSearchBox).autocomplete(Autocomplete.aspx,
{
maxItemsToShow: 10,
minChars: 3,
delay: 40,
4 matches
Mail list logo