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 Aktualizacje pocztą RSS | Email Get updates via feedburner Get updates via twitter
Home / Coding / JavaScript & Ajax / JavaScript: Where do I Find … Strona główna / Coding / JavaScript i Ajax / JavaScript: Gdzie mogę znaleźć ...

JavaScript: Where do I Find All Properties for All HTML Elements ? JavaScript: Gdzie mogę znaleźć wszystkie właściwości wszystkich elementów HTML?

Posted on 08. Zamieszczone w dniu 08. Jun, 2009 by Dragos in Coding , JavaScript & Ajax Cze, 2009 Dragos w Coding, JavaScript i Ajax

You think you're good at JavaScript? Myślisz, że jesteś dobry w JavaScript? Ok. Ok. Here's a question that'll test your JavaScript wisdom: How many properties does a DIV element have? Oto pytanie, które będzie przetestować JavaScript mądrości: Jak wiele właściwości ma mieć element DIV?

Your answer is 5? Twoja odpowiedź jest 5? Because there is the name, id, class, style or title property. Ponieważ nie jest nazwa, ID, klasa, styl i tytuł własności. 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)? Może odpowiedź jest trochę więcej niż 5, ale możesz być zaskoczony, gdybym ci powiedział, że jest więcej niż 60 właściwości elementu div (62 w sumie, myślę)? Don't worry, me too I was surprised when I found out about it. Nie martw się, ja też byłem zaskoczony, gdy dowiedziałem się o tym. And all these properties are there to help you better interact with your element and with the client. A wszystkie te właściwości są w stanie Ci pomóc lepszą interakcję z elementu oraz z klientem.

Here's a list of div properties: Oto lista div właściwości:

Div properties

Div properties Dział nieruchomości

I was talking about the div element, but the other elements do also have dozens of properties that you might never heard of before. I mówił o elementu div, ale pozostałe elementy są także dziesiątki właściwości, które być może nigdy nie słyszał wcześniej. Find all properties for the elements you're interested in at Java2s.com . Znajdź wszystkie właściwości elementów jesteś zainteresowany w Java2s.com. Good luck discovering the new possibilities of JavaScript! Powodzenia odkrywanie nowych możliwości JavaScript!

Translate this post Translate this post


Related posts: Podobne posty:

  1. JavaScript: How to get the index (position within a group) of an object with jQuery? JavaScript: Jak zdobyć indeks (pozycja w grupie) obiektu z jQuery?
  2. JavaScript: Get anchor from URL JavaScript: Get kotwicę z adresu URL
  3. JavaScript: Send function as a parameter to another function (callbacks) JavaScript: Wyślij funkcji jako parametr do innej funkcji (callback)
  4. Javascript: How to validate email address with JavaScript? Javascript: Jak potwierdzić adres e-mail z JavaScript?
  5. PHP: Get all files and folders from a directory (folder) PHP: Wszystkie pliki i foldery z katalogu (folderu)

    blog comments powered by Disqus blog komentarze powered by Disqus