Solved

Disabled attribute and android web browser

Posted on 2011-09-25
1
612 Views
Last Modified: 2012-05-12
I have a problem with the android browser and disabled dom elements. Buttons marked disabled in my css are not disabled on android devices. However, they operate as intended on ie7-9, firefox, chrome, etc. basically a disabled button on an html form can be clicked in the android browser. Has anyone encountered this problem and is there a fix? I am using disabled: disabled in my css. I have also tried disabled="disabled" in the actual html.

Thanks
0
Comment
Question by:Candidochris
1 Comment
 
LVL 30

Accepted Solution

by:
Steggs earned 500 total points
ID: 36939520
Hello,

There is no such think as a disabled:disabled css property. There is a html property like this: <input type="button" value="" disabled>

However, this will not work in android. You can set the click property to false though http://developer.android.com/reference/android/view/View.html#attr_android%3aclickable
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article discusses four methods for overlaying images in a container on a web page
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now