Solved

Disabled attribute and android web browser

Posted on 2011-09-25
1
614 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…

896 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

11 Experts available now in Live!

Get 1:1 Help Now