carMAN
26-09-2004, 15:46
Guardate questo frammento di codice:
<%
String company = request.getParameter("company");
if (company!=null) {
%>
<input type="text" name="company" value="<%=company%>" size="40" maxlength="40" >
<%
}
else
{
%><input type="text" name="company" size="40" maxlength="40" >
<%
}
%>
Vorrei fare in modo che se company!=null allora il form text che contiene il valore di 'company' non sia editabile..
e' possibile? (non voglio usare una label in sostituzione dell'input text!)
grazie per l'aiuto!!!!
<%
String company = request.getParameter("company");
if (company!=null) {
%>
<input type="text" name="company" value="<%=company%>" size="40" maxlength="40" >
<%
}
else
{
%><input type="text" name="company" size="40" maxlength="40" >
<%
}
%>
Vorrei fare in modo che se company!=null allora il form text che contiene il valore di 'company' non sia editabile..
e' possibile? (non voglio usare una label in sostituzione dell'input text!)
grazie per l'aiuto!!!!