Solved

Disabled attribute and android web browser

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

825 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