Hot Search: the ipod could not be restored 1416 mac how to disassemble hp sd320 my ipad says opret forbindelse til itune ipad address bar greyed out sinband file manager file extension plist jeff crnogorac PD65
Home >Default > Having trouble making a textarea readonly in Netscape

Having trouble making a textarea readonly in Netscape

-0001-11-30 | Default
Advertisement
I have a jsp page with a textarea that I want to disable or make read only, however the "disabled" and "readonly" attributes of textarea only seem to work in IE not in netscape. Any one have any ideas how to disable in netscape?

Latest answer

Advertisement
Hi,
In the onfocus event of the text area, call a javascript function and then blur the focus to the text area and focus any other form elements.
Check with the following code. It works in all browsers.
<html>
<head>
<script language="javascript">
<!--
function divert()
alert("function called");
document.tst.installationSummary.blur();
document.tst.inst.focus();
//-->
</script>
     <title>Untitled</title>
</head>
<body>
<form name=tst>
<textarea name="installationSummary" onfocus="divert()" rows=10 cols=30>
[PATH]
http://essarkay/myweb/webapps/srsoft/
[WELCOME FILE]
index.jsp
[INSTALLATION TYPE]
Custom
[INSTALL FROM]
Web server
[WEB SERVER]
Iplanet web server 6.0
[OPEARTING SYSTEM]
Sun Solaris
</textarea>
<input type="button" name="inst" value="Install" onClick="javascript:alert('Installed Successfully');">
</form>
</body>
</html>
Good Luck,
Ramkumar

Related recommended

Having trouble making a textarea readonly in Netscape

I have a jsp page with a textarea that I want to disable or make read only, however the "disabled" and "readonly" attributes of textarea only seem to work in IE not in netscape. Any one have any ideas how to disable in netscape?Hi, In [More]

-0001-11-30 Default

Disable option in Netscape 4.79

Hi, Please tell me the way to disable the Right Click option in a Text box, in Netscape 4.79. Thanx & Regds. MurugeshThanx my friend, Actually we have created one application and that is working fine in IE browser. When we are testing this applicatio [More]

-0001-11-30 Default

Dropdown box - which event handler to use ?

I am having trouble with setting the readonly property (via Javascript) of the adjacent textbox to my dropdown box when the index value is a certain number. I tried using MouseUp, MouseDown, and even OnBlur....but the readonly does not seem to be get [More]

2015-10-11 Default

I can't interact (scroll) my scrollbars in JScrollPane on a JPanel

Hi, I'm having trouble with my textarea with jscrollpane that is on an overidden JPanel to paint a background image. My first problem is that I can't even see the scrollpane but I fixed that through g.setXORMode(true). Now, my problem is even though [More]

-0001-11-30 Default

Trouble using scroll panel in textArea

Hello all, Im kinda stuck again I'm having a small simple problem where I'm reading the results of a search performed from a .txt file and I'm returning the results to a textArea but the only problem is that the textArea will not create a scroll bar [More]

2015-10-11 Default

Applet  gives trouble in Netscape

my applet doesn't works good in Nestscape. it works well in IE. may i know what could be the reason? In Netscape the applet gets downloaded but it cannot send messages to the servlet in the server.Send the Applet and Servlet's code and a short descri [More]

-0001-11-30 Default

Adding list data into a TextArea trouble.

Hi I have loaded xml data into a tile list and added event listener to capture clicks. When I click an item in TileList, i intend to add the item label into a TextArea. All goes well. Yet, the problem is item label gets updated instead of appended to [More]

-0001-11-30 Default

Why the html textarea tag doesn't work in Netscape 4.76 running SunOS5.5.1? I can get focus into it but can't type anything.

 This is an iPlanet Application Server forum. Please ask this question in a newsgroup or forum for Netscape and/or broswer questions. DavidRead other 2 answers [More]

-0001-11-30 Default

[Kernel] USB and network trouble

Hey all, i have some trouble getting my system fully running. I have a built in 3com network card, it uses the 3c59x module in the kernel (got it build into the kernel). I also have a usb cd writer. When i start writing my network fails after sometim [More]

2015-10-11 Default

Get the Coordinates of a Character in a TextArea

Is there a way to determine what the coordinates of a given character are in a TextArea control? One project I'm working on presents a chunk of text cut off at some number of characters, followed by a LinkButton control (e.g., to view "more"), a [More]

2015-10-11 Default

Click Ranking

  • How do I set up my printer to air print

    How do I set up my printer to AirPrintReview this Apple Support page http://support.apple.com/kb/ht4356 If your printer supports AirPrint you prettyd much just have to turn it on. Your iPad should find it. Keep in mind though, that not all Wi-Fi prin

  • Extremely slow printing on a photosmart c4480 connected with a macbook

    My printer is suddenly printing really slow. Once I press print  ( one simple a4 document) it pulls the paper  in, it prints a little bit it stops for a minute or 2 then prints another small bit, then stops and restarts after a while and so on. takes

  • LMS, Captivate and C:drive tracking

    We are implementing a new LMS however will need to place large captivate files on the local PC hard drives due to low bandwidth.  The user will access the local PC files through the LMS.  Need help in getting the LMS to receive SCORM information from

  • Dolby Digital Surro

    Hi there, I just purchased a new audigy 2 nx. However, I can not seem to get the dolby digital sound to work. The dolby digital light is not going on. Can someone tell me how to activate the dolby digital please. I know it works in the demo cd so its

  • Quickfinder Server public user access

    Hello, I have Quickfinder working and most security is set up and working except, when one loads the search page it defaults to "public access" and a search with public access displays snippets from restricted documents (although authentication

  • Spry HTML dataset unseen in IE7/8

    Using Mac OS 10.5.8 and DW CS4 to produce a simple HTML dataset for calendar dates. The code produced by DW is unaltered, and can be viewed at www.meonrc.org/Test.html. The data is at /Data/dscalendar.html. Dataset renders perfectly in Firefox (Mac &

  • Brand new iPhone 5c upgrade says 'no service' when nano sim is inserted.

    Hi, My brother's HTC contract ran out so he got an iPhone 5C last night.  He didn't change networks or change his number and the salesman said that the new sim card he gave him would be ready to go when he put it in the phone with the same number etc

  • Lost calender data with sync - aaagh! Where can I find backup data??

    Hi. I synced my iphone (ios4) with my imac yesterday and lots of random calender data has been lost on my iphone. I haven't synced for a long time so no use me trying to restore to a recent sync. A friend told me that prior to syncing, itunes takes a

  • Font for multilanguage support

    Hi, How can I use embed fonts for multi language support. If i set embed fonts  = false; then the text input is taking any language but i need to use embed fonts as well as need to support any language How can I acheive that. Please give me suggessti

  • How do u reset the zen microphoto comple

    how do u reset the microphoto so it resets completly, like?you just bought it? turn your Zen MicroPhoto off ? slide back cover off, remove battery ? slide ON switch all the way to the left and hold in on ? while the switch is held to <i>ON</i>