|
|
|
|
俵ÀÌ / 2000-08-24 / ¿ÀÈÄ 7:08:07 / 203.255.3.155
Á¶È¸¼ö : 108
|
[Áú¹®] 2°³ÀÇ µå·Ó´Ù¿î ¹Ú½º |
> ¾È³çÇϼ¼¿ä
> ¸·È÷´Â °ÍÀÌ ³Ê¹« ¸¹±º¿ä
> µÎ°³ÀÇ µð·Ó´Ù¿î ¹Ú½º¸¦ ¸¸µé¾ú½À´Ï´Ù
> (select option ¹Ú½º)
> ù¹ø° µå·Ó´Ù¿î ¹Ú½º¸¦ ¾î´À ÇÑ ¸®½ºÆ®¸¦ ¼±ÅÃÇßÀ»¶§
> µÎ¹ø° µå·Ó´Ù¿î ¹Ú½º¸¦ Á¦°¡ ¿øÇÏ´Â µå·Ó´Ù¿î ¹Ú½º¸¦ ¼±ÅÃÇÒ ¼ö ÀÖ°ÚÇÒ ¼ö´Â ¾ø½À´Ï
> ±î.
> ¿¹¸¦ µé¾î ù¹ø° µå·Ó´Ù¿î ¹Ú½º´Â 1°³ ÀÌ°í¿ä
> µÎ¹ø° ¸®½ºÆ® ¹Ú½º´Â ½ÇÁúÀûÀ¸·Î 3°³°¡ µÇ´Â °ÍÀÌÁÒ
> ÀÌ ¼¼°³ Áß¿¡ ÇÑ°³¸¦ È£ÃâÇÏ´Â °ÍÀÔ´Ï´Ù
> °°Àº ÆäÀÌÁö¿¡¼ ÀϾ´Â °ÍÀε¥ Âü Èûµé±º¿ä
> ù¹ø° µå·Ó´Ù¿î ¸®½ºÆ®¹Ú½ºÀÇ itemÀ» ¼±ÅÃÇßÀ»¶§
> onchange() À̺¥Æ®¸¦ »ç¿ëÇؼ
> ´ÙÀ½ µå·Ó´Ù¿î ¸®½ºÆ® ¹Ú½º3°³Áß item°ú °ü·ÃµÈ
> µå·Ó´Ù¿î¹Ú½º¸¦ ¼±º¸ÀÏ·Á°í Çϰŵç¿ä
> ´Ù¸§µ¥·Î Á¶±Ý ÇØ º¸¾Ò´Âµ¥
> Àß µÇÁö¸¦ ¾Ê´Â±º¿ä...
> µµ¿òÀ» Áø½ÉÀ¸·Î ¹Ù¶ó°Ú½À´Ï´Ù ''
> °¨»çÇÕ´Ï´Ù
>
>
>
>
>
>
>
>
-----------------------------------------------------------
2³âÀü¿¡ ÇØ º»°Å¶ó Àß ±â¾ïÀÌ ³ªÁö ¾Ê³×¿ä....
Á¦°¡ Å×½ºÆ®Çغ»´Ù°í »ç¿ëÇÑ ¼Ò½ºÀÔ´Ï´Ù...
º¸½Ã°í Âü°íÇϼ¼¿ä....
ű״ ¼öÁ¤µÇ¾ú½À´Ï´Ù...
{html}
{head}
{meta http-equiv="Content-Type" content="text/html; charset=euc-kr"}
{title}µ¥ÀÌŸÀÔ·Â{/title}
{script language="javaScript"}
{!--
//Select Button¿¡¼ »ç¿ëµÉ ¹è¿ÀÇ ÃʱâÈ
Code = new Array();
Code[0] = new Array();
Code[0][0] = new Option("**********",000);
Code[0] = new Array();
Code[1] = new Array();
Code[2] = new Array();
Code[0][1] = new Option("Àå¹Ì", 0);
Code[0][2] = new Option("±¹È", 1);
Code[0][3] = new Option("Æ©¸³", 2);
Code[1][1] = new Option("¼Ò³ªÅ¸", 0);
Code[1][2] = new Option("´©ºñ¶ó", 1);
Code[1][3] = new Option("¾Æº§¶ó", 2);
Code[1][4] = new Option("¾ÆÅäÁî", 3);
Code[1][5] = new Option("ƼÄÚ", 4);
Code[2][1] = new Option("±ÇÃÑ", 0);
Code[2][2] = new Option("ˌ̄", 1);
Code[2][3] = new Option("±â°üÃÑ", 2);
function changecode(sel, pos) {
var i;
for (i = sel.length - 1; i }= 0; i--) {
sel.options[i]=null;
}
for (i = 0; i { Code[pos].length-1; i++) {
sel.options[i]=new Option(Code[pos][i+1].text, Code[pos][i+1].value);
}
setDefault(sel, "000")
}
function setDefault(sel, val)
{
for (i = 0; i { sel.length; i++) {
if (sel.options[i].value == val) {
sel.selectedIndex = i;
return i;
}
}
if (i == sel.length) {
sel.selectedIndex = 0;
return (i - 1);
}
}
function submit(msg){
msg.submit()
}
function reset(msg){
}
// --}
{/script}
{/head}
{body bgcolor="#ffffff"}
{form method="POST" action="post.asp"}
{div align="center"}{center}
{table border="1" width="560" cellspacing="1" cellpadding="0"}
{tr}
{td width="20%" align="center" bgcolor="#000000"}{font color="#ffffff"}{small}´ëºÐ·ù{/small}{/font}{/td}
{td width="80%"}
{select name="F_Code1" size="1" onChange="changecode(this.form.F_Code2,this.form.F_Code1[this.form.F_Code1.selectedIndex].value)"}
{option value="0"} °¾ÆÁö {/option}
{option value="1"} °í¾çÀÌ {/option}
{option value="2"} ¸Á¾ÆÁö {/option}
{/select}{/td}
{/tr}
{tr}
{td width="20%" align="center" bgcolor="#000000"}{font color="#ffffff"}{small}Áߺзù{/small}{/font}{/td}
{td width="80%"}
{select name="F_Code2" size="1"}
{option value="0"} Àå¹Ì {/option}
{option value="1"} ±¹È {/option}
{option value="2"} Æ©¸³ {/option}
{/select}{/td}
{/tr}
{/table}
{/center}{/div}
{div align="center"}{center}
{table border="0" width="560" cellspacing="0" cellpadding="0"}
{tr}
{td width="100%"}
{input type="submit" value="¿Ï·áÇϱâ"}{/td}
{/tr}
{/table}
{/center}{/div}
{/form}
{/body}
{/html}
|
|
|
|