Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

In firefox the dropdown list value is getting selected but the text is not changing.

more options

In firefox and google crome the dropdown list value is getting selected but the text is not changing. But in IE its working fine.

In firefox and google crome the dropdown list value is getting selected but the text is not changing. But in IE its working fine.

Tất cả các câu trả lời (4)

more options

This is hard to answer without seeing the site. If it is a public page, can you post the URL and describe the steps to recreate the problem? If it's a site you're developing that isn't online yet, maybe you can describe the scenario in more detail or post a stripped-down test case.

more options

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).

  • Do not click the Reset button on the Safe mode start window or otherwise make changes.
more options

In the code its alright. If i inspect the code its showing the correct value selected but its not reflecting on the page.

more options

Let me see whether I understand your scenario. You are not changing the <select> control interactively with the mouse or keyboard. Instead, you are changing the value of a <select> control in JavaScript, and the control itself is not reflecting the change.

What is your code to change the value of the <select> control? I find that setting the .selectedIndex property usually works. The script at http://www.jeffersonscher.com/thailan.../food/ uses that technique when you use the left or right arrow to navigate to previous or next photo. Does it work on your Firefox and Chrome? (Press t first or click the Tools button to clear the overlay.)