Solved

Disabled attribute and android web browser

Posted on 2011-09-25
1
624 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
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 embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

691 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