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 UPDATES VIA RSS | E-mail Get updates via feedburner Get updates via twitter
Home / Coding / JavaScript & Ajax / JavaScript: Where do I Find … Home / Coding / JavaScript & Ajax / JavaScript: Waar vind ik ...

JavaScript: Where do I Find All Properties for All HTML Elements ? JavaScript: Waar vind ik alle Eigenschappen voor Alle HTML-elementen?

Posted on 08. Geplaatst op 08. Jun, 2009 by Dragos in Coding , JavaScript & Ajax Juni, 2009 door Dragos in Coding, JavaScript & Ajax

You think you're good at JavaScript? Je denkt dat je goed in JavaScript? Ok. Oke. Here's a question that'll test your JavaScript wisdom: How many properties does a DIV element have? Hier is een vraag die je test je JavaScript wijsheid: Hoeveel woningen heeft een DIV-element hebben?

Your answer is 5? Uw antwoord is 5? Because there is the name, id, class, style or title property. Want er is de naam, id, klasse, stijl of titel eigendom. 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)? Misschien is uw antwoord is een beetje meer dan 5, maar zou je verbaasd zijn als ik je verteld dat er meer dan 60 eigenschappen van het element div (62 in totaal, denk ik)? Don't worry, me too I was surprised when I found out about it. Maak je geen zorgen, ik ook ik was verrast toen ik erachter kwam. And all these properties are there to help you better interact with your element and with the client. En al deze eigenschappen zijn er om u te helpen beter te communiceren met uw element en met de klant.

Here's a list of div properties: Hier is een lijst van div eigenschappen:

Div properties

Div properties Div eigenschappen

I was talking about the div element, but the other elements do also have dozens of properties that you might never heard of before. Ik had het over de div element, maar de andere elementen doen ook tientallen eigenschappen die u misschien nog nooit gehoord had. Find all properties for the elements you're interested in at Java2s.com . Vind alle eigenschappen voor de elementen die u geïnteresseerd bent in ten Java2s.com. Good luck discovering the new possibilities of JavaScript! Good luck ontdekken van de nieuwe mogelijkheden van JavaScript!

Translate this post Translate this post


Related posts: Gerelateerde berichten:

  1. JavaScript: How to get the index (position within a group) of an object with jQuery? JavaScript: Hoe krijg ik de index (positie binnen een groep) van een object met jQuery?
  2. JavaScript: Get anchor from URL JavaScript: Get anker van URL
  3. JavaScript: Send function as a parameter to another function (callbacks) JavaScript: Stuur functie als parameter aan een andere functie (callbacks)
  4. Javascript: How to validate email address with JavaScript? Javascript: Hoe te valideren e-mailadres met JavaScript?
  5. PHP: Get all files and folders from a directory (folder) PHP: Ontvang alle bestanden en mappen uit een map (folder)

    blog comments powered by Disqus blog comments powered by Disqus