|
-
July 26th, 2005, 06:06 PM
#4
Re: dynamically adding a read only attribute in a JSP tag
JSP is server coding. It cannot handle what you need, as far as I am aware. What you need is a client side language, which is what JavaScript is for. JSP could only handle it, for example (as far as I know), iuf after every letter the field is submitted with its value, and if the value is locked, then it could add the readonly attribute.
The code I provied will work in a .jsp page. However, since it is not JSP code, it can work equally as well on a .php, .html, .asp, etc ...
*9-11-01* Never Forget; Never Forgive; Never Relent!
"If we ever forget that we're one nation under God, then we will be a nation gone under." - Ronald Reagan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|