473,386 Members | 1,602 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,386 software developers and data experts.

'disabled' property in Netscape

hi group

i am developing an application , we have to run it for Netscape
V4.76(!!) , the problem is it seems that Netscape V4.76 does not
support 'disabled' for form elements for example something like

<INPUT class=f2 type=checkbox value="C" name="chkAttr" DISABLED />

is not working for netscape whereas its working fine for IE

please help me out

Gautam Bhatt
Jul 23 '05 #1
3 1306


Gautam wrote:

we have to run it for Netscape
V4.76(!!) , the problem is it seems that Netscape V4.76 does not
support 'disabled' for form elements for example something like

<INPUT class=f2 type=checkbox value="C" name="chkAttr" DISABLED />

is not working for netscape whereas its working fine for IE


Have you tried IE 3?
Seriously, Netscape 4 is old and doesn't have support for disabled form
controls, not even with static HTML. If you want to have HTML 4 support
then use Netscape 7 (6 would do for that too but use the latest version
if possible).
As a workaround for NN 4 the following might help:
<http://www.faqts.com/knowledge_base/view.phtml/aid/2188/fid/310>

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #2

"Gautam" <ga*********@gmail.com> wrote in message
news:b7**************************@posting.google.c om...
hi group

i am developing an application , we have to run it for Netscape
V4.76(!!) , the problem is it seems that Netscape V4.76 does not
support 'disabled' for form elements for example something like

<INPUT class=f2 type=checkbox value="C" name="chkAttr" DISABLED />

is not working for netscape whereas its working fine for IE

please help me out


You will find that problem exists up to Communicator v4.8 (terminal
release). Neither the DISABLED nor the READONLY stop the <input> from
receiving focus and allowing the user to enter/change a value.
Jul 23 '05 #3


"Gautam" <ga*********@gmail.com> wrote in message
news:b7**************************@posting.google.c om...
hi group

i am developing an application , we have to run it for Netscape
V4.76(!!) , the problem is it seems that Netscape V4.76 does not
support 'disabled' for form elements for example something like

<INPUT class=f2 type=checkbox value="C" name="chkAttr" DISABLED />

is not working for netscape whereas its working fine for IE

please help me out

Gautam Bhatt


<form name="myForm">
<input
type="text"
name="myInput"
value="abc"
defaultvalue="abc"
onchange="this.value=this.defaultValue;"
onfocus="if (this.blur) this.blur();"
/>
</form>

But it's still not completely the same as READONLY or DISABLED, and it's
quite a bit of code to prevent the changing of an input that you will
have to validate on the server anyway.

--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #4

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

Similar topics

5
by: Jeremy Langworthy | last post by:
Hi I have two "totals" inputs whose values are dynamically calculated. For obvious reasons I don't want users to be able to edit the information in these. However, I do want this total passed to...
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: Nick Li | last post by:
Hi, I need to create a html page so that "Back" button(or some other button) is disabled in IE browser. I would appreciate your help. Nick Li
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: Chris Ullman | last post by:
Simply put - if I have a disabled textbox how could I change the font-color from gray? e.g. <input type="text" disabled></input> Color no longer seems to work. Can it be done and if so how? ...
9
by: pablo | last post by:
Dear NGers, I would like to change the alt-text with the changing of the image during a mouseover action. Can document.images.altView be changed dynamically? TIA, pablo
5
by: Mark Hannon | last post by:
I have been researching the "disabled" property for form data and wanted to know: - Does the disabled property supress the form item from being submitted? - Can the disabled property be applied...
3
by: Kelly Domalik | last post by:
I would like to override the "disabled" property of a hidden field. When disabled is set to "true", it would call a function to disable 2 other text fields on the form. When disabled is set to...
8
by: CsaaGuy | last post by:
I have a requirement to disable some textboxs depending on their contents. I choose to do this by invoking some javascript. When they change the contents, i disable the textbox they just put new...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.