문제

I have created dynamic row(using javascript) in my JSP page. Now i want to use Spring Component <form:input

For spring component <form:input in HTML, i have used

<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>

<form:input path="hello" cssClass="textbox_Blue" maxlength='10' size='30' />

now i want to know how to do it in java script.

Hopes the question is clear and informative.

도움이 되었습니까?

해결책

Check out the html equivalent of <form:input similarly create that in your javascript. Append that code in your page using javascript. The binding is done based on name, so it will work.

Make sure that you are appending code within the <form tag.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top