javascript - default value f:textarea -
javascript - default value f:textarea -
i've probelm jsp. need set default value f:textarea field so, that, on mvc controller extract info db , on jps print it:
<textarea id="description" name="description" rows="10" cols="74"> <c:out value="${fn:trim(f_default_text)}" /> </textarea>
it works fine , field filled but, there empty char @ origin of inserted text. take on db , value right , tried print value on mvc controller , it's without empty space.
what's happening?
many guys! andrea
i think <textarea>
value picking indentation , line separator between tags.
try joining tags (><
):
<textarea id="description" name="description" rows="10" cols="74"><c:out value="${fn:trim(f_default_text)}" /></textarea>
javascript spring jsp jstl
Comments
Post a Comment