The moose likes HTML, CSS and JavaScript and the fly likes making  elemnt readonly and editabble Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "making  elemnt readonly and editabble" Watch "making  elemnt readonly and editabble" New topic
Author

making elemnt readonly and editabble

ravindra patil
Ranch Hand

Joined: Sep 01, 2006
Posts: 190
I am facing problem in making field readonly and again editable , my select tag have onChange event ,depending upon the selcted value i need to make 3 textboxes readonly and again editable , it makes them readonly perfectly but it keeps them readonly even i changes the value of select tag

here is the code
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
It is readOnly

Eric
ravindra patil
Ranch Hand

Joined: Sep 01, 2006
Posts: 190
I didn't get you !
when value is "FILL" is is doing what i am expecting but when value is other than FILL it shuld be editble

Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50691

Case counts!

readonly and readOnly are not the same!


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
ravindra patil
Ranch Hand

Joined: Sep 01, 2006
Posts: 190
O You guys are amazing lets have weekend party tonight
 
 
subject: making elemnt readonly and editabble
 
Threads others viewed
howto make my code shorter ?
jsf radio button and javascript
JavaScript code works in firefox but not in IE8
Read text values in javascript
Does Onload supported in Mozilla Firefox 3.6
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com