Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Disabled attribute and android web browser

Posted on 2011-09-25
1
Medium Priority
?
633 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:
Mark Steggles earned 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Find out what you should include to make the best professional email signature for your organization.
This article discusses how to implement server side field validation and display customized error messages to the client.
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…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

597 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