
Warning: Use of undefined constant G5_TIMEZONE - assumed 'G5_TIMEZONE' (this will throw an Error in a future version of PHP) in /volume1/web/windygram/common.php on line 141

Warning: Use of undefined constant G5_SHOP_URL - assumed 'G5_SHOP_URL' (this will throw an Error in a future version of PHP) in /volume1/web/windygram/extend/apms.extend.php on line 204

Warning: Use of undefined constant G5_SHOP_URL - assumed 'G5_SHOP_URL' (this will throw an Error in a future version of PHP) in /volume1/web/windygram/extend/apms.extend.php on line 205
<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>윈디그램 &amp;gt; IT &amp;gt; 개발자게시판</title>
<link>https://windygram.chm.kr/bbs/board.php?bo_table=dev_board</link>
<description>윈디그램 &amp;gt; IT &amp;gt; 개발자게시판</description>
<language>ko</language>
	<item>
	<title>jQuery checkbox</title>
	<link>https://windygram.chm.kr/bbs/board.php?bo_table=dev_board&amp;wr_id=2</link>
	<description><![CDATA[<p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-weight:700;color:rgb(0,0,0);">jQuery <span class="highlight" style="color:rgb(0,0,0);">checkbox</span></span><span style="color:rgb(0,0,0);"> </span><span style="color:rgb(0,0,0);">컨트롤</span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="color:rgb(0,0,0);"> </span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-weight:700;color:rgb(0,0,0);">1.</span><span style="color:rgb(0,0,0);"> </span><span style="font-weight:700;"><font color="#000000"><font color="#7820b9"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span></font><span style="color:rgb(0,0,0);"> </span></font><font color="#ff6c00"><span class="highlight" style="color:rgb(0,0,0);">checked</span><span style="color:rgb(0,0,0);"> </span></font></span><span style="color:rgb(0,0,0);">여부 :</span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-weight:700;color:rgb(0,0,0);"><font color="#3a32c3">id</font></span><span style="color:rgb(0,0,0);">인 경우 : $('input:</span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#7820b9">checkbox</font></span><span style="color:rgb(0,0,0);">[</span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#3a32c3">id</font></span><span style="color:rgb(0,0,0);">="</span><span style="font-weight:700;color:rgb(0,0,0);"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span>_id</span><span style="color:rgb(0,0,0);">"]').</span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#ff0000">is</font></span><span style="color:rgb(0,0,0);">(":</span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#ff6c00">checked</font></span><span style="color:rgb(0,0,0);">") ==</span><span style="color:rgb(0,0,0);"> </span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#ef007c">true</font></span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-weight:700;color:rgb(0,0,0);"><font color="#ff0000">name</font></span><span style="color:rgb(0,0,0);">인 경우 : $('input:</span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#7820b9">checkbox</font></span><span style="color:rgb(0,0,0);">[</span><font color="#ff0000"><span style="font-weight:700;color:rgb(0,0,0);">name</span></font><span style="color:rgb(0,0,0);">="</span><span style="font-weight:700;color:rgb(0,0,0);"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span>_name</span><span style="color:rgb(0,0,0);">"]').</span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#ff0000">is</font></span><span style="color:rgb(0,0,0);">(":</span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#ff6c00">checked</font></span><span style="color:rgb(0,0,0);">") == </span><span style="color:rgb(0,0,0);"> </span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#ef007c">true</font></span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-weight:700;"><font color="#ef007c"></font></span><span style="color:rgb(0,0,0);"> </span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-weight:700;color:rgb(0,0,0);">=&gt; </span><span style="color:rgb(0,0,0);"> $('input[</span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#3a32c3">id</font></span><span style="color:rgb(0,0,0);">="</span><span style="font-weight:700;color:rgb(0,0,0);"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span>_id</span><span style="color:rgb(0,0,0);">"]') + 옵션 형태로 작성 해도 문제는 없다</span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-weight:700;color:rgb(0,0,0);">Ex) </span><span style="color:rgb(0,0,0);">$('input[</span><font color="#ff0000"><span style="font-weight:700;color:rgb(0,0,0);">name</span></font><span style="color:rgb(0,0,0);">="</span><span style="font-weight:700;color:rgb(0,0,0);"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span>_name</span><span style="color:rgb(0,0,0);">"]').</span><font color="#ff0000"><span style="font-weight:700;color:rgb(0,0,0);">is</span></font><span style="color:rgb(0,0,0);">(":</span><font color="#ff6c00"><span style="font-weight:700;color:rgb(0,0,0);">checked</span></font><span style="color:rgb(0,0,0);">")</span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="color:rgb(0,0,0);"> </span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-weight:700;color:rgb(0,0,0);">2. </span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#7820b9"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span></font> </span><span style="color:rgb(0,0,0);">전체 갯수 : $('input:</span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#7820b9">checkbox</font></span><span style="color:rgb(0,0,0);">[</span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#ff0000">name</font></span><span style="color:rgb(0,0,0);">="</span><span style="font-weight:700;color:rgb(0,0,0);"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span>_name</span><span style="color:rgb(0,0,0);">"]').</span><font color="#ff6c00"><span style="font-weight:700;color:rgb(0,0,0);">length</span></font></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-family:Tahoma;color:rgb(0,0,0);"><span style="font-weight:700;color:rgb(0,0,0);">3.</span> <span style="font-weight:700;color:rgb(0,0,0);"><font face="돋움" color="#3a32c3"><font color="#7820b9"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span></font> </font></span></span><span style="font-family:Tahoma;color:rgb(0,0,0);">선택된 갯수 : <font face="돋움"><span style="color:rgb(0,0,0);">$('input:</span><span style="font-weight:700;"><font color="#7820b9"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span></font></span><span style="color:rgb(0,0,0);">[</span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#ff0000">name</font></span><span style="color:rgb(0,0,0);">="</span><span style="font-weight:700;color:rgb(0,0,0);"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span>_name</span><span style="color:rgb(0,0,0);">"]:</span><span style="font-weight:700;"><font color="#ff6c00"><span class="highlight" style="color:rgb(0,0,0);">checked</span></font></span><span style="color:rgb(0,0,0);">').</span><font color="#ff6c00"><span style="font-weight:700;color:rgb(0,0,0);">length</span></font></font></span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-family:Tahoma;"><span style="font-weight:700;"><font face="돋움" color="#ff6c00"><font color="#000000"><span style="color:rgb(0,0,0);">* 2,3번은</span><span style="color:rgb(0,0,0);"> </span></font><font color="#ff0000"><span style="color:rgb(0,0,0);">name</span><span style="color:rgb(0,0,0);"> </span></font><font color="#000000"><span style="color:rgb(0,0,0);">인 경우에만 가능</span></font></font></span></span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-family:Tahoma;"><span style="font-weight:700;"><font face="돋움"></font></span></span><span style="color:rgb(0,0,0);"> </span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-family:Tahoma;"><font face="돋움"><span style="font-weight:700;color:rgb(0,0,0);">4. <font color="#7820b9"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span></font> </span><span style="color:rgb(0,0,0);">전체 순회 하며 처리(동일한</span><span style="color:rgb(0,0,0);"> </span><span style="font-weight:700;color:rgb(0,0,0);">name</span><span style="color:rgb(0,0,0);">으로 여래개인 경우 전체를 컨트롤 할 수 있다.)</span></font></span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-family:Tahoma;color:rgb(0,0,0);"> $('input:<span style="font-weight:700;"><font face="돋움" color="#7820b9"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span></font></span>[<span style="font-weight:700;color:rgb(0,0,0);"><font face="돋움" color="#ff0000">name</font></span>="<font face="돋움"><span style="font-weight:700;color:rgb(0,0,0);"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span>_name</span><span style="color:rgb(0,0,0);">"</span></font>]').<span style="font-weight:700;color:rgb(0,0,0);">each</span>(<span style="font-weight:700;color:rgb(0,0,0);">function</span>() {</span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-family:Tahoma;color:rgb(0,0,0);">      <span style="font-weight:700;color:rgb(0,0,0);">this</span>.<span style="font-weight:700;color:rgb(0,0,0);"><font color="#ff6c00"><span class="highlight" style="color:rgb(0,0,0);">checked</span> </font></span>= <span style="font-weight:700;color:rgb(0,0,0);"><font color="#ef007c">true</font></span>; //<font face="돋움"><span style="font-weight:700;color:rgb(0,0,0);"><font color="#ff6c00"><span class="highlight" style="color:rgb(0,0,0);">checked</span> </font></span><span style="color:rgb(0,0,0);">처리</span></font></span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-family:Tahoma;"><font face="돋움"><span style="color:rgb(0,0,0);">     </span><span style="color:rgb(0,0,0);"> </span><span style="font-weight:700;color:rgb(0,0,0);">if</span><span style="color:rgb(0,0,0);">(</span><font face="Tahoma"><span style="font-weight:700;color:rgb(0,0,0);">this</span><span style="color:rgb(0,0,0);">.</span><span style="font-weight:700;"><font color="#ff6c00"><span class="highlight" style="color:rgb(0,0,0);">checked</span></font></span></font><span style="color:rgb(0,0,0);">){</span><font face="Tahoma"><span style="color:rgb(0,0,0);">//</span></font><span style="font-weight:700;color:rgb(0,0,0);"><font color="#ff6c00"><font face="돋움"><span class="highlight" style="color:rgb(0,0,0);">checked</span> </font></font></span><span style="color:rgb(0,0,0);">처리된 항목의 값</span></font></span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-family:Tahoma;"></span><span style="font-family:Tahoma;"><span style="color:rgb(0,0,0);">            alert(<span style="font-weight:700;color:rgb(0,0,0);">this</span>.<font color="#ff6c00"><span style="font-weight:700;color:rgb(0,0,0);">value</span></font><font color="#000000"><span style="color:rgb(0,0,0);">)</span></font>; </span></span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-family:Tahoma;"><span></span></span><span style="font-family:Tahoma;"><span style="color:rgb(0,0,0);">      }</span></span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-family:Tahoma;color:rgb(0,0,0);"> });</span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-family:Tahoma;"></span><span style="color:rgb(0,0,0);"> </span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;"><span style="font-family:Tahoma;"><font face="돋움"><span style="font-weight:700;color:rgb(0,0,0);">5. <font color="#7820b9"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span></font> </span><span style="color:rgb(0,0,0);">전체 순회 하며 값을 값을 비교하여</span><span style="color:rgb(0,0,0);"> </span><span style="font-weight:700;"><span class="highlight" style="color:rgb(0,0,0);">checked</span></span><span style="color:rgb(0,0,0);"> 처리</span></font></span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;"><span style="font-family:Tahoma;color:rgb(0,0,0);"> $('input:<span style="font-weight:700;"><font face="돋움" color="#7820b9"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span></font></span>[<span style="font-weight:700;color:rgb(0,0,0);"><font face="돋움" color="#ff0000">name</font></span>="<font face="돋움"><span style="font-weight:700;color:rgb(0,0,0);"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span>_name</span><span style="color:rgb(0,0,0);">"</span></font>]').<span style="font-weight:700;color:rgb(0,0,0);">each</span>(<span style="font-weight:700;color:rgb(0,0,0);">function</span>() {</span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;"><span style="font-family:Tahoma;"><font face="돋움"><span style="color:rgb(0,0,0);">    </span><span style="color:rgb(0,0,0);"> </span><span style="font-weight:700;color:rgb(0,0,0);">if</span><span style="color:rgb(0,0,0);">(</span><font face="Tahoma"><span style="font-weight:700;color:rgb(0,0,0);">this</span><span style="color:rgb(0,0,0);">.</span><font color="#ff6c00"><span style="font-weight:700;color:rgb(0,0,0);">value</span></font><font color="#000000"><span style="color:rgb(0,0,0);"> </span><span style="color:rgb(0,0,0);">== "</span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#ff0000">비교값</font></span><span style="color:rgb(0,0,0);">"</span></font></font><span style="color:rgb(0,0,0);">){</span><span style="color:rgb(0,0,0);"> </span><font face="Tahoma" color="#009e25"><span style="font-weight:700;color:rgb(0,0,0);">//값 비교</span></font></font></span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;"><span style="font-family:Tahoma;"></span><span style="font-family:Tahoma;"><span style="color:rgb(0,0,0);">            <span style="font-weight:700;color:rgb(0,0,0);">this</span>.<span style="font-weight:700;color:rgb(0,0,0);"><font color="#ff6c00"><span class="highlight" style="color:rgb(0,0,0);">checked</span> </font></span>= <span style="font-weight:700;color:rgb(0,0,0);"><font color="#ef007c">true</font></span>; <span style="font-weight:700;"><font color="#009e25"><span style="color:rgb(0,0,0);">//</span><font face="돋움"><span class="highlight" style="color:rgb(0,0,0);">checked</span><span style="color:rgb(0,0,0);"> </span><span style="color:rgb(0,0,0);">처리</span></font></font></span></span></span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;"><span style="font-family:Tahoma;"><span></span></span><span style="font-family:Tahoma;"><span></span></span><span style="font-family:Tahoma;"><span style="color:rgb(0,0,0);">      }</span></span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;"><span style="font-family:Tahoma;color:rgb(0,0,0);"> });</span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-family:Tahoma;"></span><span style="color:rgb(0,0,0);"> </span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-family:Tahoma;color:rgb(0,0,0);"><span style="font-weight:700;color:rgb(0,0,0);">*</span> 동일한 <span style="font-weight:700;color:rgb(0,0,0);">name</span> 으로 <span style="font-weight:700;color:rgb(0,0,0);">1개 or</span> <span style="font-weight:700;color:rgb(0,0,0);">여러개</span> 있을 경우에는 같은 <span style="font-weight:700;color:rgb(0,0,0);">name</span> 으로 된 모든 <span style="font-weight:700;color:rgb(0,0,0);"><font face="돋움"><font color="#7820b9"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span></font> </font></span>가 <span style="font-weight:700;color:rgb(0,0,0);"><font face="돋움" color="#ff6c00"><span class="highlight" style="color:rgb(0,0,0);">checked</span> </font></span>처리된다.</span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-family:Tahoma;"></span><span style="color:rgb(0,0,0);"> </span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-weight:700;color:rgb(0,0,0);">6.</span><span style="color:rgb(0,0,0);"> </span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#7820b9"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span></font> value</span><font color="#000000"><span style="color:rgb(0,0,0);"> </span><span style="color:rgb(0,0,0);">값 가져오기</span></font><span style="color:rgb(0,0,0);"> </span><span style="color:rgb(0,0,0);">:  $('input:</span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#7820b9">checkbox</font></span><span style="color:rgb(0,0,0);">[</span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#3a32c3">id</font></span><span style="color:rgb(0,0,0);">="</span><span style="font-weight:700;color:rgb(0,0,0);"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span>_id</span><span style="color:rgb(0,0,0);">"]').</span><span style="font-weight:700;color:rgb(0,0,0);">val(); <font color="#009e25"><span style="color:rgb(0,0,0);">//단일건</span></font></span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-weight:700;color:rgb(0,0,0);">7.</span><span style="color:rgb(0,0,0);"> </span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#7820b9"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span></font> <font color="#ff6c00"><span class="highlight" style="color:rgb(0,0,0);">checked</span><span style="color:rgb(0,0,0);"> </span></font></span><span style="color:rgb(0,0,0);">처리 하기 : $('input:</span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#7820b9">checkbox</font></span><span style="color:rgb(0,0,0);">[</span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#3a32c3">id</font></span><span style="color:rgb(0,0,0);">="</span><span style="font-weight:700;color:rgb(0,0,0);"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span>_id</span><span style="color:rgb(0,0,0);">"]').</span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#ff0000">attr</font></span><span style="color:rgb(0,0,0);">("</span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#ff6c00">checked</font></span><span style="color:rgb(0,0,0);">",</span><span style="color:rgb(0,0,0);"> </span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#ef007c">true</font></span><span style="color:rgb(0,0,0);">);</span><span style="color:rgb(0,0,0);"> </span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#009e25">//단일건</font></span></p><p style="margin-bottom:10px;font-family:'KoPub Dotum';text-align:justify;color:rgb(51,51,51);font-size:14px;background-color:rgb(255,255,255);"><span style="font-weight:700;color:rgb(0,0,0);">8.</span><span style="color:rgb(0,0,0);"> </span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#7820b9"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span></font> <font color="#ff6c00"><span class="highlight" style="color:rgb(0,0,0);">checked</span><span style="color:rgb(0,0,0);"> </span></font></span><span style="color:rgb(0,0,0);">여부 간단 확인: $("#</span><span style="font-weight:700;color:rgb(0,0,0);"><span class="highlight" style="color:rgb(0,0,0);">checkbox</span>_id</span><span style="color:rgb(0,0,0);">"]').</span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#ff0000">is</font></span><span style="color:rgb(0,0,0);">("</span><span style="font-weight:700;"><font color="#ff6c00"><span style="color:rgb(0,0,0);">:</span><span class="highlight" style="color:rgb(0,0,0);">checked</span></font></span><span style="color:rgb(0,0,0);">");</span><span style="color:rgb(0,0,0);"> </span><span style="font-weight:700;color:rgb(0,0,0);"><font color="#009e25">//단일건</font></span></p>]]></description>
	<dc:creator>최고관리자</dc:creator>
		<dc:date>Tue, 12 Dec 2017 16:38:36 +0900</dc:date>
	</item>
	<item>
	<title>jQuery radio</title>
	<link>https://windygram.chm.kr/bbs/board.php?bo_table=dev_board&amp;wr_id=1</link>
	<description><![CDATA[<p style="color:rgb(102,102,102);font-family:Dotum, Verdana, AppleGothic, sans-serif;background-color:rgb(255,255,255);">1. 체크된 radio의 value 가져오기</p><p style="color:rgb(102,102,102);font-family:Dotum, Verdana, AppleGothic, sans-serif;background-color:rgb(255,255,255);">var radioVal = $(':radio[name="radioValue"]:checked').val();</p><p style="color:rgb(102,102,102);font-family:Dotum, Verdana, AppleGothic, sans-serif;background-color:rgb(255,255,255);"> </p><p style="color:rgb(102,102,102);font-family:Dotum, Verdana, AppleGothic, sans-serif;background-color:rgb(255,255,255);">2. radio 버튼 체크하기</p><p style="color:rgb(102,102,102);font-family:Dotum, Verdana, AppleGothic, sans-serif;background-color:rgb(255,255,255);">// name이 radioValue고, value가 Y인 라디오 버튼 체크</p><p style="color:rgb(102,102,102);font-family:Dotum, Verdana, AppleGothic, sans-serif;background-color:rgb(255,255,255);">$('input:radio[name=radioValue]:input[value="Y"]').attr("checked", true);</p><p style="color:rgb(102,102,102);font-family:Dotum, Verdana, AppleGothic, sans-serif;background-color:rgb(255,255,255);"> </p><p style="color:rgb(102,102,102);font-family:Dotum, Verdana, AppleGothic, sans-serif;background-color:rgb(255,255,255);">// id가 confirm인 radio 체크</p><p style="color:rgb(102,102,102);font-family:Dotum, Verdana, AppleGothic, sans-serif;background-color:rgb(255,255,255);">$('#confirm').attr("checked", true);</p>]]></description>
	<dc:creator>최고관리자</dc:creator>
		<dc:date>Tue, 12 Dec 2017 15:10:39 +0900</dc:date>
	</item>
</channel>
</rss>