Hi all,
I have form elements that I want to not be editable. They should,
however, be passed on submission. AFAIK, then, they need to be readonly.
(intranet app where elments are created server-side according to perms
of user with a jsp taglib, so users get some elements they can edit and
some they can't, but all will be passed to next page)
The problem with the readonly elements is, when I highlight the text, it
highlights as though it is editable. When I then click backspace, as if
to delete it, it goes back in the browser history (NN7 and IE6).
I want the behavior to be that a user cannot even focus the element if
it is readonly (like it would be if it were disabled). I also want
readonly elements to be greyed out like they are when they are disabled.
Can this be done without using style or javascript? (I can do both with
style and JS, just wondering if there was a pure html way without using
hidden fields.)
TIA
--
--
~kaeli~
In democracy your vote counts. In feudalism your count votes.
Comment