|
|
|
|
俵ÀÌ / 2001-10-24 / ¿ÀÈÄ 5:14:21 / 203.255.3.190
Á¶È¸¼ö : 123
|
[Áú¹®] ´©°¡Á» ºÁÁÖ¼¼¿ä..¤Ð.¤Ðy |
> ¶óµð¿À ¹öÆ°À» ÀÌ¿ëÇؼ °ªÀ» ³Ñ±â´Âµ¥¿ä
> ¶óµð¿À ¹öÆ°À» üũÇÏÁö ¾ÊÀ»°æ¿ì
> °ªÀ» üũÇ϶ó°í °æ°í ¸Þ¼¼Áö¸¦ ¶ç¿ï¶ó°í Çϴµ¥
> Àß ¾ÈµÇ¼¿ä..
> ºÎŹµå¸³´Ï´Ù.
>
> <script language="JavaScript">
> <!--
> function sendit()
> {
> if(document.aaa.num.value == ""){
> alert("Á¤´äÀ» üũÇØÁÖ¼¼¿ä.");
> return false;
> }
> document.aaa.submit();
> }
> //-->
> </script>
>
> Áß·«
> <form name="aaa" method="post" action="zzz.html">
> <input type="radio" name="num" value="1">
> 1. À¸¶ä
> <input type="radio" name="num" value="2">
> 2. ¹ö±Ý
> <input type="radio" name="num" value="3">
> 3. ±×³É
> <a href="javascript:sendit();">
> <img src="111.gif"></a>
> </form>
-----------------------------------------------------------
¶óµð¿À ¹öÆ°À̳ª üũ ¹Ú½ºÀÇ °æ¿ì¿¡´Â ¹è¿ °³³äÀ¸·Î »ý°¢ÇÏ¼Å¾ß µË´Ï´Ù.
Áï loop¸¦ µ¹¸é¼ ¹Ýº¹ÇÏ¸é¼ È®ÀÎ ÇÏ¼Å¾ß µË´Ï´Ù.
checked µÇ¾ú³ª ¾È µÇ¾ú³ª¸¦ È®ÀÎÇÑÈÄ ±×³ð¿¡ ÇØ´çÇÏ´Â
¹è¿ÀÇ ¼ø¼ value¸¦ ¾ò¾î¼Å¾ß µË´Ï´Ù.
°¡¿ä ÀÀÁ¢½Ç¿¡ ¼Ò½ºº¸±â¸¦ ÇÏ¼Å¾ß ½ºÅ©¸³Æ® ºÎºÐÀ» º¸¼¼¿ä...
|
|
|
|