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 GÜNCELLEME VIA RSS | E-posta Get updates via feedburner Get updates via twitter
Home / Coding / JavaScript & Ajax / JavaScript: Where do I Find … Ana Sayfa / Kodlama / JavaScript & Ajax / JavaScript: nerede bulurum ...

JavaScript: Where do I Find All Properties for All HTML Elements ? JavaScript: nereden Tüm HTML Elements Tüm Emlaklar bulabilirim?

Posted on 08. 08 olarak gönderildi. Jun, 2009 by Dragos in Coding , JavaScript & Ajax Haziran, 2009 Kodlama, JavaScript ve Ajax da Dragos tarafından

You think you're good at JavaScript? Size JavaScript iyi sanıyorsun? Ok. Tamam. Here's a question that'll test your JavaScript wisdom: How many properties does a DIV element have? Burada JavaScript bilgelik test edeceğimiz bir soru: Kaç özellikleri's a DIV elemanı var?

Your answer is 5? Cevabınız 5 nedir? Because there is the name, id, class, style or title property. Çünkü isim, id, sınıf, stil veya başlık mülküdür. 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)? Belki cevap biraz fazla 5, ama eğer ki div elemanı için fazla 60 özelliklerdir söylemiştim size sürpriz olur (62 toplam, I think)? Don't worry, me too I was surprised when I found out about it. Merak etmeyin, ben de Ben bu konuda öğrendim şaşırdı. And all these properties are there to help you better interact with your element and with the client. Ve tüm bu özellikleri vardır daha iyi elemanı ve müşteri ile etkileşim yardımcı olur.

Here's a list of div properties: Burada div özelliklerinin bir listesi:

Div properties

Div properties Div özellikleri

I was talking about the div element, but the other elements do also have dozens of properties that you might never heard of before. Ben div öğesi, ama konuşurken diğer öğeleri de özellikleri onlarca size daha önce hiç duymamış olabilir var. Find all properties for the elements you're interested in at Java2s.com . Sizi Java2s.com de ilgilendiğiniz elemanları için tüm özellikleri bulun. Good luck discovering the new possibilities of JavaScript! Şans JavaScript yeni olanakları keşfetmek Good!

Translate this post Translate bu yazı


Related posts: Ilgili posta:

  1. JavaScript: How to get the index (position within a group) of an object with jQuery? JavaScript: jQuery ile nasıl bir nesnenin (konum bir grup içinde) kütüğü almak için?
  2. JavaScript: Get anchor from URL JavaScript: URL'den çapa alın
  3. JavaScript: Send function as a parameter to another function (callbacks) JavaScript: başka bir işlev (geriçağırımları) bir parametre olarak işlev gönder
  4. Javascript: How to validate email address with JavaScript? Javascript: Nasıl JavaScript ile e-posta adresinizi doğrulamak için?
  5. PHP: Get all files and folders from a directory (folder) PHP: tüm dosya ve klasörleri bir dizin (klasör) uzak dur

    blog comments powered by Disqus Blog Yorumlar Disqus tarafından desteklenmektedir