T O P I C R E V I E W |
marionette_66 |
Posted - 06 Aug 2007 : 22:42:55 Hello,
I want to display on my main page a "Welcome back {your name}!" text, the information on {your name} will be retrieved from another site via a cookie using a java function.
I can do this by placing a Edit control on the screen and then, using java, updating it value; no problem here.
The issue is that this Edit control has a border and allows the user to enter information, I need an Edit control that behaves as a Text control: no border, does not allow for input.
How do I do this in D.H.E.?
regards Roberto |
1 L A T E S T R E P L I E S (Newest First) |
s.dav |
Posted - 07 Aug 2007 : 08:36:05 In order to change the visual appearance of input controls you have to create a style class. So in D.H.E., choose the text, go to the "style" property (or "class name") and create a style class with border=0 In order to make the text readonly this is possible only in the next version. You can do this simply using your javascript adding this line:
yourtext.readOnly=true;
where yourText is the text field in HTML |
|
|