Girdi Gönder türü Özellik
Örnek
Gönder düğmesinin hangi tür form öğesi olduğunu öğrenin:
var x = document.getElementById("mySubmit").type;
Tanım ve Kullanım
type özelliği, gönder düğmesinin ne tür bir form öğesi olduğunu döndürür.
Gönder düğmesi nesnesi için bu özellik her zaman "gönder" döndürür.
Tarayıcı Desteği
Property | |||||
---|---|---|---|---|---|
type | Yes | Yes | Yes | Yes | Yes |
Sözdizimi
submitObject.type
Geri dönüş değeri
Type | Description |
---|---|
String | The type of form element the submit button is |
❮ Gönderme Nesnesini Girin