Jasbir21
asked on
How do i make a textbox value disable + cannot edit_URGENT
Hi,
LEts say i have a texbox:
<input type="text" name="username" value=<%=username%> size=20 />
How do i make disable so that the user cannot change that value.
Second question:
LEts 's say a user gets a value from the pop-up calender, or list, the textbox, where the value is put in cannot be edited by the user.
How do i do that?
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi,
when i tried i got the error :
C:\apache\tomcat\work\Cata lina\local host\jsp-e xamples\or g\apache\j sp\jsp2\ja s_jsp.java :331: cannot resolve symbol
symbol : method form (java.lang.String)
location: interface javax.servlet.http.HttpSer vletReques t
response.write(request.for m("usernam e"));
^
I can't figure out why,thanks
when i tried i got the error :
C:\apache\tomcat\work\Cata
symbol : method form (java.lang.String)
location: interface javax.servlet.http.HttpSer
response.write(request.for
^
I can't figure out why,thanks
if you mean jay's last example -- that is not javascript; it is asp/vbscript
Vinny
Vinny
sorry i thought it was asp
what is it jsp?
if so i no notta about it
what is it jsp?
if so i no notta about it
ASKER
oh, jsp is java servlet pages, i am just beginning to learn that ,
Thanks so much for the help, i would be spliting points since both answers were very very helpful. I guess, its' an A with both accepted answers.
Thanks and God bless
Thanks so much for the help, i would be spliting points since both answers were very very helpful. I guess, its' an A with both accepted answers.
Thanks and God bless
<input type="hidden" name="username" value="<%= username%> />
and then just write there name on the page
<%
response.write(request.for
%>