<%@ page language="java" contentType="text/html; charset=EUC-KR"
pageEncoding="EUC-KR"%>
<!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=EUC-KR">
<title>Insert title here</title>
</head>
<body>
<table border="1">
<%for(int i = 0; i<10; i++){ %>
<tr>
<%for(int x = 0; x<10; x++){ %>
<td>
<%=i*10+x %>
</td>
<%} %>
</tr>
<%} %>
</table>
동적으로 테이블 생성함
각 셀 클릭 시 alter문 서서 경고창 띄우고 싶은데 뭔 방법 써야대나여
(여담 <%for(int i = 0; i<10; i++){ %> 이거하고 <%for(int i = 0; i<10; i++) %>
<%{ %>
이거하고 차이없는거같은데 후자로하면 인식을 못하네 그래서 한참헤맴;)
헉 그건가요 여튼 제가 영어가 미숙해서 그건거같아요
알터;;
<Td onclick="alert('dd')">해보셈
해결함 책 뒷부분에보니까 비슷한거있길래 대충 때려넣으니까 됨