<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[TNF : Tatter Network Foundation forum - 검색창 버그]]></title>
	<link rel="self" href="http://forum.tattersite.com/ko/extern.php?action=feed&amp;tid=67&amp;type=atom"/>
	<updated>2006-04-14T13:44:48Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.tattersite.com/ko/viewtopic.php?id=67</id>
		<entry>
			<title type="html"><![CDATA[RSS 답글: 검색창 버그]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=322#p322"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>inureyes 작성:</cite><blockquote><p>음 잘 몰라서 여쭈어봅니다 <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />getElementsByName 은 모든 브라우저에서 호환되는데, this. 속성은 어떤가요?</p><p>어디에선가 (아마 W3C 권고안이었던듯?) 최대한 this. 속성을 쓰는 것을 자제하라는 글을 본 적이 있어서요^^;</p></blockquote></div><p>헛 W3C에 그런 내용이 있었나요?;;<br />근데 this를 못쓰게된다면 자바스크립트를 사용하는데 상당한 애로사항이 있을거 같네요.;<br />좀 찾아봐야겠네요. <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>일단 제가 알고 있는 브라우저에서는 다되긴 합니다.(몇 개 되지도 않지만요;; )</p><br /><p>음.. 도저히 못찾겠네요. OTL<br />혹시 어디있는지 아시면 저에게도 알려주세요. 흑;;</p>]]></content>
			<author>
				<name><![CDATA[Peris]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=40</uri>
			</author>
			<updated>2006-04-14T13:44:48Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=322#p322</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[RSS 답글: 검색창 버그]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=320#p320"/>
			<content type="html"><![CDATA[<p>음 잘 몰라서 여쭈어봅니다 <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />getElementsByName 은 모든 브라우저에서 호환되는데, this. 속성은 어떤가요?</p><p>어디에선가 (아마 W3C 권고안이었던듯?) 최대한 this. 속성을 쓰는 것을 자제하라는 글을 본 적이 있어서요^^;</p>]]></content>
			<author>
				<name><![CDATA[inureyes]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=2</uri>
			</author>
			<updated>2006-04-14T13:39:08Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=320#p320</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[검색창 버그]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=319#p319"/>
			<content type="html"><![CDATA[<p>&lt;input type=&quot;text&quot; name=&quot;search&quot; value=&quot;&quot; onkeypress=&quot;if (event.keyCode == 13) { try{window.location.href=&#039;/search/&#039; + document.getElementsByName(&#039;search&#039;)[0].value.replace(&#039;%&#039;, &#039;%25&#039;); return false;}catch(e){} }&quot; class=&quot;sinput&quot; /&gt;</p><p>현재 검색창은 저렇게 되어있는데 아래와 같이 수정하는게 맞을거 같습니다.</p><p>&lt;input type=&quot;text&quot; name=&quot;search&quot; value=&quot;&quot; onkeypress=&quot;if (event.keyCode == 13) { try{window.location.href=&#039;/search/&#039; + this.value.replace(&#039;%&#039;, &#039;%25&#039;); return false;}catch(e){} }&quot; class=&quot;sinput&quot; /&gt;</p><p>아시겠지만 name 속성의 값은 중복이 되어도 상관이 없기때문에<br />저 코드가 나오기 전에 이미 name=&quot;search&quot; 를 쓴 경우 검색이 안되는 일이 발생합니다.<br />게다가 getElementsByName을 사용하는 것보다 this를 사용하는게 더 자바스크립트 다운것 같고요. <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[Peris]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=40</uri>
			</author>
			<updated>2006-04-14T13:35:21Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=319#p319</id>
		</entry>
</feed>
