Announcement Announcement Module
Collapse
No announcement yet.
Spring mvc+jsp+ajax Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring mvc+jsp+ajax

    I have a form controller.Form element is a drop down box.

    For eg there is user name form element.if user select his name .I want the children names to be loaded for particular user.

    I have List<Children> getChildernByUser(User user);

    <form:select path="user.username" cssClass="text medium">
    <c:forEach items="${users}" var="user">
    <form:option value="${user.username}" label="${user}"/>
    </c:forEach>
    </form:select>

    Please would like to know how this can be made using jquery or ajax.If user is selected in next form element he gets all his children to select .
Working...
X