lbm
/**
*
*/
function btn_click(str){
if(str=="login"){
frm1.action="/lbm/login";
frm1.method="post";
}else if(str=="addmember"){
frm1.action="/lbm/addmember";
frm1.method="get";
}else{
frm1.action="/lbm/boardlist";
frm1.method="get";
}
}
function btn_click2(str){
if(str=="addmember"){
frm2.action="/lbm/addmember";
frm2.method="post";
}else{
frm2.action="/lbm/login";
frm2.method="get";
}
}
function btn_click3(str){
if(str=="modify"){
frm3.action="/lbm/boardmodify";
frm3.method="get";
}else if(str=="delete") {
frm3.action="/lbm/boarddelete";
frm3.method="post";
}else{
frm3.action="/lbm/boardlist";
frm3.method="get";
}
}
function btn_click4(str){
if(str=="modify"){
frm4.action="/lbm/boardmodify";
frm4.method="post";
}else{
frm4.action="/lbm/boardlist";
frm4.method="get";
}
}
function btn_click5(str){
if(str=="write"){
frm5.action="/lbm/boardwrite";
frm5.method="post";
}else{
frm5.action="/lbm/boardlist";
frm5.method="get";
}
}
'Programming > 게시판 만들기' 카테고리의 다른 글
[게시판 만들기] uploadcontroller 0 (0) | 2021.02.15 |
---|---|
[게시판 만들기] mapper.xml (0) | 2021.02.14 |
[게시판 만들기] service & implement (0) | 2021.02.14 |
[게시판 만들기] MAPPER (0) | 2021.02.14 |
[게시판 만들기] DTO (0) | 2021.02.14 |