Utilizando JQuery - Tablesorter

2 respostas
C

ae pessoal

tentei entender jquery, mas tá dificil, quero poder classificar os dados de uma tabela pelo jquery usando o tablesorter, mas não faço ideia de como colocar na minha página, alguém pode me ajudar?

vlw

código da página

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<table class="tablesorter">
		<thead>
			<tr>
				<th >Código</th>
				<th >Nome</th>
				<th >Endereço</th>
				<th >Cidade</th>
				<th >CEP</th>
				<th >Fone</th>
				<th >Editar</th>
				<th >Remover</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${unidadeList}" var="unidade">
				<tr>
					<td>${unidade.id}</td>
					<td>${unidade.nome}</td>
					<td>${unidade.endereco}</td>
					<td>${unidade.cidade.nome}</td>
					<td>${unidade.cep}</td>
					<td>${unidade.fone}</td>
					<td><a href="<c:url value="/unidade/${unidade.id}"/>">Editar</a></td>
					<td><a href="<c:url value="/unidade/confirma_remocao/${unidade.id}"/>">Remover</a></td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
    
</body>
</html>

2 Respostas

C

ai pessoal, alguém pode me ajudar?

C

help me please…

Criado 9 de fevereiro de 2010
Ultima resposta 14 de fev. de 2010
Respostas 2
Participantes 1