468,117 Members | 2,097 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,117 developers. It's quick & easy.

Disabling a Checkbox / RadioButton in Netscape

Hi All,

Has anyone ever tried disabling a checkbox or a
radiobutton web server control in netscape ?

While a textbox and a button control renders
disabled, .NET adds the disabled attribute to the span tag
in the case of a checkbox or a radiobutton. Effectively,
these controls are not disabled in netscape.

I am reduced to having to write client side script to
disable the controls.

Heres' the HTML source that got generated
--TEXTBOX

<input name="TextBox1" type="text" id="TextBox1"
disabled="disabled" style="Z-INDEX: 101; LEFT: 451px;
POSITION: absolute; TOP: 139px" />
--CHECKBOX

<span disabled="disabled" style="Z-INDEX: 103; LEFT:
499px; POSITION: absolute; TOP: 260px"><input
id="CheckBox1" type="checkbox" name="CheckBox1" /></span>
Does anyone have a better way of solving this problem
other than having to write client side code ??
Thanks in Advance

Ashish Shridharan
Jul 19 '05 #1
0 1884

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by dave | last post: by
reply views Thread by Ashish Shridharan | last post: by
5 posts views Thread by Web learner | last post: by
10 posts views Thread by didacticone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.