473,320 Members | 1,746 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Disabled Attribute

Hello,

Is disabled attribute available for <atag?
I am asking this because a new control in ASP.NET 3.5 is doing that.

Thanks,
Miguel
Nov 29 '07 #1
4 5208
On 29 Nov, 13:37, shapper <mdmo...@gmail.comwrote:
Is disabled attribute available for <atag?
Specification is here:
http://www.w3.org/TR/html4/struct/links.html#edef-A

and there's no "disabled" attribute. Only the user input controls
associated with <form(<input>, <selectetc.) support disabled.
I am asking this because a new control in ASP.NET 3.5 is doing that.
Then don't choose to build your projects with broken tools, like these.
Nov 29 '07 #2
shapper wrote:
Hello,

Is disabled attribute available for <atag?
No.
I am asking this because a new control in ASP.NET 3.5 is doing that.
Even earlier ASP.NET does that, I see, and it works even in Firefox. But
it isn't valid HTML and you can't count on it working everywhere: the
link may continue to be functional in some browsers.
Nov 29 '07 #3
Harlan Messinger wrote:
shapper wrote:
>Hello,

Is disabled attribute available for <atag?

No.
>I am asking this because a new control in ASP.NET 3.5 is doing that.

Even earlier ASP.NET does that, I see, and it works even in Firefox. But
it isn't valid HTML and you can't count on it working everywhere: the
link may continue to be functional in some browsers.
What does this attribute look like? Like this?

<a href="http://www.google.co.uk/" disabled="disabled">This shouldn't
work</a>.

This doesn't work (in the sense that the link works) in either IE6 or
Firefox 2, although the link does have a strange appearance in IE6.
Dec 2 '07 #4
On Dec 2, 11:21 am, Mark <u...@example.netwrote:
Harlan Messinger wrote:
shapper wrote:
Hello,
Is disabled attribute available for <atag?
No.
I am asking this because a new control in ASP.NET 3.5 is doing that.
Even earlier ASP.NET does that, I see, and it works even in Firefox. But
it isn't valid HTML and you can't count on it working everywhere: the
link may continue to be functional in some browsers.

What does this attribute look like? Like this?

<a href="http://www.google.co.uk/" disabled="disabled">This shouldn't
work</a>.

This doesn't work (in the sense that the link works) in either IE6 or
Firefox 2, although the link does have a strange appearance in IE6.
Yes, it changes the background color of the link.
This is a mess. I already reported to Microsoft.

And I got a way around. I implemented a template in Asp.Net.

Thanks,
Miguel
Dec 2 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Matt | last post by:
what's the differences between readonly and disabled attribute?? When I do the post, it couldn't get both values <%= fname %>. any ideas?? <input type="text" name="fname" value="Joe" readOnly>...
2
by: CES | last post by:
All, I'm at a loss, the code below works in IE but not in Netscape and I'm unskilled enough not to know why. Essentially this code looks thru all of the form fields and if the input box has a...
5
by: bart plessers | last post by:
Hello, Somewhere in my code I have <input TYPE="button" NAME="btnFirst" VALUE="<<" OnClick="GetFile('1')" DISABLED> I changed the layout of the INPUT with a stylesheet to INPUT { color:...
1
by: Stewart Cambridge London, UK | last post by:
I've been having some trouble with a set of <select><optgroup><option> dropdowns. I've been experimenting with the disabled attribute in the <optgroup> and <option> tags. Seems to work in NN...
4
by: Mel | last post by:
how can i change disabled background on all form elements ?
5
by: acord | last post by:
Hi, Is there such thing that an item in the listbox is disabled and is appeared grey-out? How can I implement this in html/javascript? Thanks A
6
by: tshad | last post by:
I am trying to disable and enable a checkbox from javascript. The problem is that if the checkbox starts out as: <input id="Override" type="checkbox" name="Override"/> I can change it back...
3
by: BrendanMcPherson | last post by:
How can I get a listbox to change a textbox on some selections. I have a listbox which only needs to be filled in on some selections. Is there a way I can have on some selections the textbox go...
0
by: Swoosh | last post by:
Hi All, I am using ASP.Net Webcontrol to emit some HTML. The control is either a HyperLink or LinkButton. When I disable the control (by setting the controlls Enabled property) the following...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.