开发者

Insert line breaks in hidden fields value

开发者 https://www.devze.com 2023-01-11 14:20 出处:网络
开发者_高级运维How would I go about inserting line breaks in the value of hidden fields? For ex. this is how my hidden field looks like:

开发者_高级运维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() %>">
0

精彩评论

暂无评论...
验证码 换一张
取 消