This is a translated page. The original can be found here: http://iwebdevel.com/2009/06/08/javascript-where-do-i-find-all-properties-for-all-html-elements/
UPDATES VIA RSS | Email 업데이 트를 통해 RSS | 이메일 Get updates via feedburner Get updates via twitter
Home / Coding / JavaScript & Ajax / JavaScript: Where do I Find … / 코딩 / 자바 스크립트 & 아약스 / 자바 스크립트 : 어디에서 찾을 수 있습니까 ...

JavaScript: Where do I Find All Properties for All HTML Elements ? 자바 스크립트 : 어디에서 모든 HTML 요소에 대한 모든 속성을 찾을 수 있습니까?

Posted on 08. 08 게시됨. Jun, 2009 by Dragos in Coding , JavaScript & Ajax 6 월, 2009 코딩, 자바 스크립트 & 아약스에서 드라 고스에 의해

You think you're good at JavaScript? 당신이 자바 스크립트를 잘한다고 생각 하는거야? Ok. 좋아. Here's a question that'll test your JavaScript wisdom: How many properties does a DIV element have? 여기에 귀하의 지혜를 시험거야 자바 스크립트 질문 : 얼마나 많은 속성은 DIV 요소 있습니까?

Your answer is 5? 당신의 대답은 5? Because there is the name, id, class, style or title property. 왜냐하면 거기에 이름, 아이디, 클래스, 스타일 또는 제목 속성입니다. Maybe your answer is a little bit more than 5, but would you be surprised if I told you that there are more than 60 properties for the div element (62 in total, I think)? 아마 당신의 대답은 조금 5 개 이상이지만, 만약 내가 거기 DIV 요소에 대한 60 개 이상의 속성이있다는 말을 들으면 놀랄 것이다 (총 62 전) 생각하세요? Don't worry, me too I was surprised when I found out about it. 걱정하지 마, 나도 내가 그것에 대해 알게 놀랐습니다. And all these properties are there to help you better interact with your element and with the client. 그리고 이러한 모든 속성이 존재하면 좋을 요소와 클라이언트와 상호 작용을 도움이됩니다.

Here's a list of div properties: 여기 div 속성의 목록입니다 :

Div properties

Div properties 사업부 속성

I was talking about the div element, but the other elements do also have dozens of properties that you might never heard of before. 내가 DIV 요소에 대해 얘기했다지만, 다른 요소의 속성도 수십 그 전에는 들어본 적도 수도 있어요. Find all properties for the elements you're interested in at Java2s.com . 당신 Java2s.com에 관심있는 요소에 대한 모든 속성을 찾는다. Good luck discovering the new possibilities of JavaScript! 행운을 JavaScript의 새로운 가능성을 발견하세요!

Translate this post 번역이 게시물에


Related posts: 관련 게시물 :

  1. JavaScript: How to get the index (position within a group) of an object with jQuery? 자바 스크립트 : 어떻게 jQuery와 개체의 (위치를 그룹 내에서) 인덱스를 얻을가?
  2. JavaScript: Get anchor from URL 자바 스크립트 : URL에서 앵커로 나가
  3. JavaScript: Send function as a parameter to another function (callbacks) 자바 스크립트 : 다른 함수 (콜백)를 매개 변수로 함수를 보내기
  4. Javascript: How to validate email address with JavaScript? 자바 스크립트 : 자바 스크립트와 방법의 이메일 주소를 확인?
  5. PHP: Get all files and folders from a directory (folder) PHP는 : 모든 파일 및 폴더를 디렉토리 (폴더)에서 떨어져

    blog comments powered by Disqus 블로그 덧글 Disqus에 의해 제공