[code="java"]
<%@ page contentType="text/html; charset=utf-8"%>
<!DOCTYPE html>
[/code]
[code="java"]
function addUser(group,name,age){
$("#"+group).html("
为什么addUser()以后只有韩梅梅那一项
初学js,求各路大神帮助
[code="java"]
function addUser(group,name,age){
// html()方法是相当于替换的意思。
// $("#"+group).html("
//向每个匹配的元素内部追加内容。
$("#"+group).append("
};
[/code]