PDA

View Full Version : Ajax in Safari : Items in select box don't appear..instead black color appears


Unregistered
09-30-2007, 11:49 PM
I have two select box one for country & another for city. What i am doing is on the selection of country. I am fetching cities data using JavaScript - Ajax from database and filling city select box.
First time when page loads select box working properly & it shows 'X' number of city as per country.
Let’s take example X=5(there are 5 city).
Now when I select another country from country select box again i am fetching cities data using JavaScript - Ajax from database and filling city select box.
If the count of city is less than or equal to 'X' number of city (x=5) there is no problem. but if count of city is more than 'X' number of city (x=5) then it will show 'X' number of city (x=5) properly and remaining box is black.
If I use down or up arrow key or mouse i can select those city but it still appearing as black box.
if i use mouse scroll wheel to scroll select box & then move mouse pointer on black area it turn in white and showing 'X' number of city (x=5) properly but only 'X' number of city (x=5) remaining area is again black.
i am facing this problem only in safari. in other browser IE,Opera,Mozilla it's working fine.
I am using safari version 3.0.3(522.15.5).

this is the link where you can see how it appears
http://i180.photobucket.com/albums/x134/ro...afariSelect.jpg (http://i180.photobucket.com/albums/x134/robort001/abc/SafariSelect.jpg)

emurphy1
10-01-2007, 10:00 AM
I just looked at your screen shot of the problematic drop down list...weird. I've never seen anything like that. I see from your post the problem is with Safari 3.0, on Windows, I assume. Are you using Windows XP or Vista? I am guessing that you are hitting a bug with the Safari 3 Public Beta. If you site is working well with all the major Windows browsers except the Safari Beta I wouldn't worry too much. Check the Safari Beta bug lists and wait for Safari 3 to come out of Beta.