Announcement Announcement Module
Collapse
No announcement yet.
use <form:input in dynamically added rows in javascript Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • use <form:input in dynamically added rows in javascript

    I have created dynamic row(using javascript) in my JSP page. Now i want to use Spring Component
    Code:
    <form:input
    For spring component
    Code:
    <form:input
    in HTML, i have used

    Code:
    <%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
    Code:
    <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.

  • #2
    You can't add <form:input... elements using JS. You can add only plain <<input type="....... /> elements dynamically to DOM using JS code.

    That thread will be helpful if you are familiar with such topic.
    http://forum.springsource.org/showth...-dynamic-sizes

    Comment

    Working...
    X