开发者_高级运维How would I go about inserting line breaks in the value of hidden fields?
For ex. this is how my hidden field looks like:
<input type="hidden" name="dahidden" value="<%=da.getFname() %> <%=da.getLname() %> <%=da.getEmail() %> <%=da.getPhone() %> <%=da.getExt() %>">
I need to insert line breaks after da.getLname()
and da.getEmail()
.
How would I go about doing this?
Just insert the line breaks directly. They are permitted within attributes.
<input type="hidden" name="dahidden" value="<%=da.getFname() %> <%=da.getLname() %>
<%=da.getEmail() %> <%=da.getPhone() %> <%=da.getExt() %>">
精彩评论